예제 #1
0
        private void WebVideoViewerPage_Loaded(object sender, RoutedEventArgs e)
        {
            double width  = ActualWidth;
            double height = ActualHeight;

            WebVideoView.NavigateToString(GetEmbeddedVideoPlayer((int)width - 50, (int)height - 50));
        }
예제 #2
0
 private void WebVideoPlayer_Unloaded(object sender, RoutedEventArgs e)
 {
     WebVideoView.NavigateToString("<html></html>");
 }
예제 #3
0
 private void ShowEmbeddedVideo()
 {
     WebVideoView.NavigateToString(GetEmbeddedVideoPlayer(640, 480));
 }