elements
elements copied to clipboard
Feature Request: programmatically exit full screen
Is there an existing issue for this?
- [X] I have searched the existing issues
Which Mux Elements/Packages does this apply to? Select all that apply
mux-player-react
Description
Auto-scrolling video is a key business feature for businesses delivering professional video. We have built most functionality for auto-scrolling with Mux Player, but we need to programmatically exit the fullscreen mode.
Expected Behavior
There should be an API on the DOM element (or somewhere?) where we can programmatically enter or exit full screen mode.
thanks for the feedback!
yes, I think we're missing a few player methods that would make this easier similar to PiP https://github.com/muxinc/elements/issues/493
we'll see if we can add direct methods for PiP and Fullscreen
related code: https://github.com/muxinc/media-chrome/blob/26a05f6ac4accc47241e17f8c58d1d9269e77722/src/js/media-controller.js#L165-L172
Thank you
I'm also looking to programmatically enter full screen when playback is triggered on mobile devices.
In conjunction with this not only allowing esc to exit full screen (which it does) but clicking the full screen button again should exit. Currently it only take you into full screen.