Skip to content

A Xamarin Forms control to render the native video player on every platform.

License

Notifications You must be signed in to change notification settings

K232/Xamarin.Forms.VideoPlayer

 
 

Repository files navigation

Xamarin Forms Video Player

This is the official repository for the Xamarin Forms Video Player component.

  1. Take the trial version for a spin.
  2. If you like it, you can buy it - unlocks the full capability of the component.

                    PayPal

  1. Once you purchase it, follow the Getting Started guide to get your license key.

s

Introduction

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.

A Video Player on Every Platform in 2 Minutes...

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.Xamarin.Forms.VideoPlayer;assembly=Octane.Xamarin.Forms.VideoPlayer"
             x:Class="VideoPlayerSamples.VideoPlayerBasicExamplePage"
             Title="Basic Video Player">

    <o:VideoPlayer Source="http://vjs.zencdn.net/v/oceans.mp4" />

</ContentPage>

Native Mobile Performance

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

Free Trial Limitations

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.

Licensing

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.

Platform Requirements

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

About

A Xamarin Forms control to render the native video player on every platform.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%