A Xamarin Forms control to render the native video player on every platform.
🎉 🎉 🎉
This library is now part of the open source community. Thank you to everyone who made this project possible! The issue queue will no longer be reviewed. If you wish to become a maintainer, please reach out to discuss.
🎉 🎉 🎉
This is the official repository for the Xamarin Forms Video Player component.
This Xamarin Forms component that makes it extremely easy to render the native video player on every mobile platform and respond to common video events all from shared Xamarin Forms code. This component provides a highly customizable development experience with a solid foundation to develop rich and visually interesting cross-platform mobile video playback.
This video player does all the heavy lifting for you, allowing you to spend more time focused on making your mobile app great and less on the intricate details of managing network state, decoding and media playback.
This is the simplest example of how to use the video player component that fills an entire page. Just declare the
VideoPlayertag in your XAML Forms page and specify the location of the video file. For more advanced configuration, check out the Getting Started page.
This video player component is fully cross-platform between the iOS, Android, and Windows Phone mobile operating systems as it renders the native video player on each platform, taking on the look and feel of the operating system they are running on. This ensures your mobile application looks and works its best on each system supported.
No complex knowledge is required to properly manage the playback of video files. This component handles playback state and renders the native video player for each mobile platform for the best playback performance. Under the hood, this component uses the
MediaPlayeron Android, and the
MediaElementon Windows Phone.
Please make sure the platforms you're targeting meet the minimum requirements listed below.
| Platform | Minimum Version | |---------------- |-------------------- | | iOS | 8.0+ Unified | | Android | 4.1+ (API Level 16) | | UWP | 10 |