Skip to content

arqueror/Xamarin.Forms.BackgroundVideoView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xamarin.Forms.BackgroundVideoView

A simple view for displaying background video in Xamarin.Forms (iOS and Android)

Installation

1.- NuGet Add Xamarin.Forms.BackgroundVideoView package to each project.

2.- Call Abstractions.Init() on each platform.

How it looks

Alt Text

Usage

  <ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:d="http://xamarin.com/schemas/2014/forms/design"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:controls="clr-namespace:Xamarin.Forms.BackgroundVideoView;assembly=Xamarin.Forms.BackgroundVideoView"
             mc:Ignorable="d"
             x:Class="Xamarin.Forms.BackgroundVideoView.MainPage">


    <controls:BackgroundVideoView Source="Orchestra.mp4" Loop="True"
                        HorizontalOptions="Fill" VerticalOptions="Fill" >
        <controls:BackgroundVideoView.ViewContent>
          <!--YOUR CONTENT-->
        </controls:BackgroundVideoView.ViewContent>
    </controls:BackgroundVideoView>


</ContentPage>

Did you like it?

Buy Me A Coffee

Your caffeine helps me a lot ✨

Happy coding! ✨ 🐫 💥

About

A simple view for displaying background video in Xamarin.Forms (iOS and Android)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages