Code Monkey home page Code Monkey logo

xamarin.forms.videoplayer's Introduction

Xamarin Forms Video Player

๐ŸŽ‰ ๐ŸŽ‰ ๐ŸŽ‰

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.

  1. Install via NuGet.

  2. Once you install it, Follow the Getting Started guide.

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

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

xamarin.forms.videoplayer's People

Contributors

adamfisher avatar k232 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.