Player.js: Feature Request: Add Event for Controls Show/Hide

Created on 30 Jul 2019  路  1Comment  路  Source: vimeo/player.js

An event that fires when controls are shown/hidden would be very useful for building custom controls that go alongside the standard Vimeo controls. For example, I want to add a large, easy to use unmute button to an autoplay player and have it fade in and out with the standard controls. It is difficult to mimic the functionality of the standard Vimeo controls because you can't handle mousemove over/in a sandboxed iframe.

player.on('uihide', function() { ... });
player.on('uishow', function() { ... });

enhancement

Most helpful comment

Thanks for the feedback. We will review this internally and get back to you.

>All comments

Thanks for the feedback. We will review this internally and get back to you.

Was this page helpful?
0 / 5 - 0 ratings