Expose MediaElement's native view for player customization beyond what MediaElement supports #2832
philipag
started this conversation in
New Feature Discussions
Replies: 1 comment
-
In addition to the view, it would probably makes sense to create a getter for the Player object (e.g. iOS AVFoundation.AVPlayer) since that can be used for further customization in some scenarios. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
A public object getter for the native view (Android => AndroidX.Media3.UI.PlayerView, iOS => AVPlayerViewController, etc.) would simplify native customization that goes beyond what MediaElement supports.
Some functions like showing/hiding the media controls are too different between platforms and instead of trying to add the functionality to MediaElement, exposing the underlying object will make it easy to customize without having to add a lot of boiler plate.
Customiztion examples:
iOS:
Android:
Beta Was this translation helpful? Give feedback.
All reactions