elements icon indicating copy to clipboard operation
elements copied to clipboard

Enhancement: allow the selection of an alternative fullscreen element

Open joelhooks opened this issue 3 years ago • 3 comments

with https://github.com/muxinc/media-chrome/pull/415 it would be very (very) nice for those of us using MuxPlayer to be able to choose an alternative to the fullscreen element so that we can provide users with a more holistic and consistent fullscreen experience.

As it is our apps are forced to suffer with the default fullscreen element and it isn't conducive for more complex use cases and user experience.

joelhooks avatar Feb 08 '23 22:02 joelhooks

That's a good idea @joelhooks ! Thank you

dylanjha avatar Feb 16 '23 20:02 dylanjha

Agree good call @joelhooks. Reach out if you have a specific use case you can share that you'd like us to test against (no pressure either way).

cjpillsbury avatar Feb 16 '23 21:02 cjpillsbury

also, as stopgap solution that may work for you, mux-player has a mediaController property, so you could experiment with muxPlayerElRef.mediaController.fullscreenElement = myFullscreenElRef;. I think we'd still want to make this cleaner for folks, but that may at least unblock you (🤞)

cjpillsbury avatar Feb 16 '23 21:02 cjpillsbury