File

projects/components/src/widgets/common/video/video.component.doc.ts

Description

The wmVideo component defines the video widget.

Inputs

enableautoplay

This property will be used to play the video when page loads.

Type : boolean

Default value : false

enablecontrols

This property will be used to enable controls for video widget on the web page.

Type : boolean

Default value : true

hint

Hint text is shown for the video widget on hover.

Bindable: true

Type : string

loop

This property will be used to allow the video to be replayed, when completed.

Type : boolean

Default value : false

mp4sourcepath

The property allows to set the file path of the video/mp4 for the video widget.

Bindable: true

Type : string

mute

This property will be used to allow the video output to be muted.

Type : boolean

Default value : false

name

Name of the video widget.

Type : string

oggsourcepath

The property allows to set the file path of the video/ogg for the video widget.

Bindable: true

Type : string

poster

The property allows to set an image while the video is loading, or until play button is hit.

Bindable: true

Type : string

show

This property will be used to show/hide the video widget on the web page.

Bindable: true

Type : boolean

Default value : true

subtitlelanguage

The property allows to set the language for the subtitle of the video widget.

Bindable: true

Type : string

subtitlesource

The property allows to set the source URL for the subtitle in .vtt format.

Bindable: true

Type : string

supportmessage

The property allows to set the message when audio file is not supported for the video widget.

Type : string

tabindex

This property specifies the tab order of the Video Widget.

Type : number

Default value : 0

videopreload

This property allows to control how the video should be loaded when page loads .

Allowed Values: none - default, metadata, auto

none - default: Restricts the video from loading on page load.

metadata: Loads only the metadata on page load.

auto: Loads the entire video on page load.

Type : string

webmsourcepath

The property allows to set the file path of the video/WebM for the video widget.

Bindable: true

Type : string

result-matching ""

    No results matching ""