Wednesday, June 6, 2012

Embed MediaElement in XAML to play media

MediaElement in XAML


    <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
        <MediaElement
            Source="http://media.ch9.ms/ch9/3748/ad8542fd-4b59-4951-bf4a-7e98cb4e3748/VSToolbox37_high.mp4"
            Width="640"
            Height="480"
            HorizontalAlignment="Center"
            VerticalAlignment="Center"
            />
        
    </Grid>


No comments:

Post a Comment