Edit this page

Fullscreen

RadMediaPlayer allows you to display the media content in fullscreen mode by internally changing the application fullscreen mode. You can easily toggle the mode by pressing the FullScreen button or changing the IsFullScreen property.

However, you should keep in mind that the fullscreen mode can only be entered after a user triggered action.

<telerik:RadMediaPlayer x:Name="radMediaPlayer">
 <telerik:RadMediaItem Source="http://ecn.channel9.msdn.com/o9/pdc09/wmv/CL16.wmv"&#13;                       Header="Optimizing for Performance with the Windows Performance Toolkit"/>
</telerik:RadMediaPlayer>

Since the fullscreen functionality may be application dependant, you could customize it by handling the FullScreenChanged event, that is raised when the RadMediaPlayer changes its fullscreen mode.

<telerik:RadMediaPlayer x:Name="radMediaPlayer" FullScreenChanged="radMediaPlayer_FullScreenChanged">
 <telerik:RadMediaItem Source="http://ecn.channel9.msdn.com/o9/pdc09/wmv/CL16.wmv"&#13;                       Header="Optimizing for Performance with the Windows Performance Toolkit" />
</telerik:RadMediaPlayer>

In the code-behind file you need to implement the event handler.

private void RadMediaPlayer_FullScreenChanged(object sender, EventArgs e)
{
 //implement your custom logic
}
Private Sub RadMediaPlayer_FullScreenChanged(sender As Object, e As EventArgs)
    'implement your custom logic'
End Sub