コード例 #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));
 }