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
Mostra file Open project: NicePeopleAtWork/NicePlayers

Protected Methods

Method Description
OnGotFocus ( RoutedEventArgs e ) : void
OnLostFocus ( RoutedEventArgs e ) : void
OnMediaPluginLoaded ( ) : void

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

Private Methods

Method 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 method

protected OnGotFocus ( RoutedEventArgs e ) : void
e System.Windows.RoutedEventArgs
return void

OnLostFocus() protected method

protected OnLostFocus ( RoutedEventArgs e ) : void
e System.Windows.RoutedEventArgs
return void

OnMediaPluginLoaded() protected method

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