<UserControl
    x:Class="FoxTube.VideoPlayer"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:foxtube="using:FoxTube"
    mc:Ignorable="d"
    d:DesignHeight="1080"
    d:DesignWidth="1920"
    RequestedTheme="Dark"
    Visibility="Collapsed">

    <Grid Background="{StaticResource SystemChromeMediumColor}">
        <MediaElement Name="videoSource" AreTransportControlsEnabled="True" VolumeChanged="VideoSource_VolumeChanged" CurrentStateChanged="VideoSource_CurrentStateChanged" MarkerReached="VideoSource_MarkerReached" PosterSource="ms-appx:///Assets/videoThumbSample.png">
            <MediaElement.TransportControls>
                <foxtube:PlayerControls IsCompactOverlayButtonVisible="True" IsCompactOverlayEnabled="True"
                                        IsFullWindowButtonVisible="True" IsFullWindowEnabled="True"
                                        IsSkipBackwardButtonVisible="True" IsSkipBackwardEnabled="True"
                                        IsSkipForwardButtonVisible="True" IsSkipForwardEnabled="True"/>
            </MediaElement.TransportControls>
        </MediaElement>
    </Grid>
</UserControl>
