Skip to content

Instantly share code, notes, and snippets.

@noppolp
Created May 9, 2015 11:15
Show Gist options
  • Select an option

  • Save noppolp/bf664af2b4d03ae4ea9e to your computer and use it in GitHub Desktop.

Select an option

Save noppolp/bf664af2b4d03ae4ea9e to your computer and use it in GitHub Desktop.
MediaElement in MainPage.xml
<Page
x:Class="SmoothStreamingWP81.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:SmoothStreamingWP81"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<Grid>
<MediaElement x:Name="Player"
HorizontalAlignment="Center"
VerticalAlignment="Center"/>
</Grid>
</Page>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment