This is the official repository for the Xamarin Forms Video Player component.
- Take the trial version for a spin.
- If you like it, you can buy it - unlocks the full capability of the component.
- Once you purchase it, follow the Getting Started guide to get your license key.
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 VideoPlayer
tag in your XAML Forms page and specify the location of the video file. For more advanced configuration, check out the Getting Started page.
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:o="clr-namespace:Octane.Xam.VideoPlayer;assembly=Octane.Xam.VideoPlayer"
x:Class="VideoPlayerSamples.VideoPlayerBasicExamplePage"
Title="Basic Video Player">
<o:VideoPlayer Source="http://vjs.zencdn.net/v/oceans.mp4" />
</ContentPage>
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 AVPlayer
on iOS, the MediaPlayer
on Android, and the MediaElement
on Windows Phone.
- Optimized for Xamarin
- Cross-platform Xamarin Forms XAML component
- Can play local files, embedded resources or HTTP(S)-based streamed files from the web
- Simple configuration
- Low overhead/footprint
- Handles and releases resources for you
You can download the free trial using the trial button above. The trial is limited to 15 seconds of video playback. Once you have acquired the full version, you will have complete access to all features of the video player.
- Android FillMode/Resolution - Some videos experience resolution stretching during playback and we are awaiting a btter solution from the Android platform or community.
Be sure to review the licensing link above. The license is valid for a single mobile application deployed across all three platforms (Android, iOS, Windows Phone). Each separate mobile app idea requires a new license as stated in the agreement. Check out the getting started link above to get your license key which is directly mapped to your mobile app.
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) |
Windows Phone | 8.0+ |