private void WebVideoViewerPage_Loaded(object sender, RoutedEventArgs e) { double width = ActualWidth; double height = ActualHeight; WebVideoView.NavigateToString(GetEmbeddedVideoPlayer((int)width - 50, (int)height - 50)); }
private void WebVideoPlayer_Unloaded(object sender, RoutedEventArgs e) { WebVideoView.NavigateToString("<html></html>"); }
private void ShowEmbeddedVideo() { WebVideoView.NavigateToString(GetEmbeddedVideoPlayer(640, 480)); }