New to Telerik UI for ASP.NET Core? Download free 30-day trial

Keyboard Navigation

The keyboard navigation of the MediaPlayer is always available.

To enable it, use the Navigatable(true) configuration. For a complete example, refer to the demo on using the keyboard navigation of the MediaPlayer.

The MediaPlayer supports the following keyboard shortcuts:

Shortcut Description
Enter Opens the video in the full-screen mode.
Esc Exits the full-screen mode.
Space Toggles the play and pause state.
M Toggles the mute and unmute state.
        .Media(m => m
            .Title("Our Company Culture - Lesson 1")
        .HtmlAttributes(new { style = "height:360px; width:640px" })
        style = "height:360px; width:640px">
        <media title="Our Company Culture - Lesson 1" source="Video/video1.mp4" />

See Also

In this article