Closed hopegipson closed 1 year ago
@hopegipson thanks for the feedback. I did a quick test but it's not possible to hide any video controls in fullscreen on iOS.
it used to be possible with older iOS versions but nowadays I believe they prevent you from overriding CSS.
if you somehow get it to work with a native video tag and show an example link to a demo I'm happy to look at this again.
Cheers!
Checklist
npm install @mux/[element_name]
oryarn @mux/[element_name]
.Which Mux Elements/Packages has a bug?
Mux Player React / mux-video
Which browser(s) are you using?
Any browser on an iphone. This has primarily been tested using Safari on iOS and Chrome on iOS.
Which operating system(s) are you using?
iOS
How are you using Mux Elements?
npm package
Describe the bug
Using MuxPlayer from @mux/mux-player-react/ as a Component, we are styling it by hiding the center controls, play button, and gesture layer when it is being used for stream type 'll-live'. The pause button is hidden on a laptop even if you access full screen, as intended. However, when utilizing the MuxPlayer in this exact scenario on an iphone, if you access full screen or picture in picture, the pause/play and seek forward back ten seconds buttons appear again. In the past when dealing with iphone controls like this we could do something like:
To hide that play button that appears by default on the
Steps To Reproduce
Link to code example: https://codesandbox.io/s/goofy-tdd-lk42fc
The current behavior
Pause and seeking behaviors are still shown when fullscreen or PIP on an iphone browser. Picture attached:
The expected behavior
We are able to hide pause/play, seeking controls even when a viewer is on an iphone in fullscreen.