C# Class Microsoft.Xbox.Samples.Video.PlayerUI.RefAppPlayer

In the Lakeview ADK some Fullscreen and Native display modes cause video to be misaligned by default instead of properly center aligned. This issue is most prevalent and noticeable when in 480p mode. To address this issue, applications must explicitly set the HorizontalAlignment and VeritcalAlignment to Center on the MediaElement that is playing the video.
Inheritance: Microsoft.SilverlightMediaFramework.Core.SMFPlayer
Afficher le fichier Open project: NicePeopleAtWork/NicePlayers

Méthodes protégées

Méthode Description
OnGotFocus ( RoutedEventArgs e ) : void
OnLostFocus ( RoutedEventArgs e ) : void
OnMediaPluginLoaded ( ) : void

Override of Player Media Plugin Loaded event to address ADK issue.

Private Methods

Méthode Description
RefAppPlayer_GamePadButtonDown ( object sender, GamePadButtonEventArgs e ) : void

GamePadButton down event handler -- added solely to work-around problem in "Back" button handling

Method Details

OnGotFocus() protected méthode

protected OnGotFocus ( RoutedEventArgs e ) : void
e System.Windows.RoutedEventArgs
Résultat void

OnLostFocus() protected méthode

protected OnLostFocus ( RoutedEventArgs e ) : void
e System.Windows.RoutedEventArgs
Résultat void

OnMediaPluginLoaded() protected méthode

Override of Player Media Plugin Loaded event to address ADK issue.
protected OnMediaPluginLoaded ( ) : void
Résultat void