MediaPlayerTagHelper

Example

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

ChildTags

Attributes

AttributeTypeDescription
nameStringSets the name of the component.
full-screenBooleanIf set to true, the widget will enter fullscreen mode.
deferredBooleanSuppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method.
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.
as-moduleBoolean
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.
has-client-componentBoolean
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-endStringFires when the media finishes playing.The event handler function context (available via the this keyword) will be set to the widget instance.
on-pauseStringFires when the media is paused.The event handler function context (available via the this keyword) will be set to the widget instance.
on-playStringFires when the media begins playing.The event handler function context (available via the this keyword) will be set to the widget instance.
on-readyStringFires 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-changeStringFires 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-changeStringThis 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.
sanitize-idBoolean
script-attributesIDictionary<String,Object>
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