MediaPlayer

Example

Razor
<kendo-mediaplayer>
    <media />
    <messages />
</kendo-mediaplayer>

ChildTags

Attributes

AttributeTypeDescription
nameStringSets the name of the component.
as-moduleBooleanSpecifies whether the initialization script of the component will be rendered as a JavaScript module.
is-in-client-templateBooleanWhen placing a Tag Helper within a Kendo Template, set the type to text/html and add the is-in-client-template="true" attribute.
deferredBooleanSuppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method.
auto-playBooleanIf set to true, the widget will start playing the video or videos after initializing.
auto-repeatBooleanIf set to true, the widget will start playing the video or videos after initializing.
forward-seekBooleanIf set to false, the user will be prevented from seeking the video forward.
full-screenBooleanIf set to true, the widget will enter fullscreen mode.
muteBooleanIf set to true, the video will be played without sound.
navigatableBooleanIf set to true, the option enables the keyboard navigation for the widget.
on-endStringThe name of the JavaScript function that will handle the end event. Fires when the media finishes playing.The event handler function context (available via the this keyword) will be set to the widget instance.
on-pauseStringThe name of the JavaScript function that will handle the pause event. Fires when the media is paused.The event handler function context (available via the this keyword) will be set to the widget instance.
on-playStringThe name of the JavaScript function that will handle the play event. Fires when the media begins playing.The event handler function context (available via the this keyword) will be set to the widget instance.
on-readyStringThe name of the JavaScript function that will handle the ready event. Fires when loading is over and the widget is ready to start playing the media.The event handler function context (available via the this keyword) will be set to the widget instance.
on-time-changeStringThe name of the JavaScript function that will handle the timeChange event. Fires when the user selects a new play time.The event handler function context (available via the this keyword) will be set to the widget instance.
on-volume-changeStringThe name of the JavaScript function that will handle the volumeChange event. This event is fired upon changing the volume level.The event handler function context (available via the this keyword) will be set to the widget instance.
script-attributesIDictionary<String,Object>Sets the attributes that will be added to the script tag of the component's initialization script.
volumeDoubleA value between 0 and 100 that specifies the volume of the video.
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support