Created
November 21, 2019 00:49
-
-
Save icebeam7/46c88615525ba614fd06131f734bea0d to your computer and use it in GitHub Desktop.
DemoCamara: VideoView.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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:d="http://xamarin.com/schemas/2014/forms/design" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
xmlns:vm="clr-namespace:DemoCamara.ViewModels" | |
xmlns:mm="clr-namespace:MediaManager.Forms;assembly=MediaManager.Forms" | |
mc:Ignorable="d" | |
Title="Videos" | |
x:Class="DemoCamara.Views.VideoView"> | |
<ContentPage.BindingContext> | |
<vm:VideoViewModel/> | |
</ContentPage.BindingContext> | |
<ContentPage.Content> | |
<StackLayout HorizontalOptions="CenterAndExpand" VerticalOptions="CenterAndExpand"> | |
<mm:VideoView WidthRequest="300" HeightRequest="300" Source="{Binding VideoURL}" /> | |
<Button Text="Record Video" Command="{Binding TakeVideoCommand}" /> | |
<Button Text="Choose Video" Command="{Binding ChooseVideoCommand}" /> | |
</StackLayout> | |
</ContentPage.Content> | |
</ContentPage> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment