HTML5 Viewer SDK API Documentation 

Namespaces


Class Index

Classes in s7sdk.event

Class s7sdk.event.VideoEvent

A VideoEvent is dispatched by VideoPlayer component whenever video playback state changes.

Class Summary
Constructor Attributes Constructor Name and Description
 
s7sdk.event.VideoEvent(type, data, bubbles)
Field Summary
Field Attributes Field Name and Description
<static>  
s7sdk.event.VideoEvent.NOTF_CURRENT_TIME
Defines the value of the type property for a VideoEvent to report the current playback time.
<static>  
s7sdk.event.VideoEvent.NOTF_DURATION
Defines the value of the type property for a VideoEvent object.
<static>  
s7sdk.event.VideoEvent.NOTF_LOAD_PROGRESS
Defines the value of the type property for a VideoEvent to notify of active loading in progress.
<static>  
s7sdk.event.VideoEvent.NOTF_NAVIGATION
This event is dispatched by the VideoPlayer to notify that navigation data is available or modified.
<static>  
s7sdk.event.VideoEvent.NOTF_SEEK
Defines the value of the type property for a VideoEvent event object.
<static>  
s7sdk.event.VideoEvent.NOTF_VIDEO_END
This event is dispatched by the VideoPlayer to notify when the current playback ended.
<static>  
s7sdk.event.VideoEvent.NOTF_VOLUME
Defines the value of the type property for a VideoEvent event object.
Class Detail
s7sdk.event.VideoEvent(type, data, bubbles)
Parameters:
{String} type
Defines the value of the type property.
{Number} data
event data. For VideoEvent.NOTF_VOLUME contains volume level in range from 0 to 1; for other types of VideoEvent contains video time in ms.
{Boolean} bubbles
Defines whether the event bubbles.
See:
s7sdk.video.VideoPlayer
Field Detail
<static> s7sdk.event.VideoEvent.NOTF_CURRENT_TIME
Defines the value of the type property for a VideoEvent to report the current playback time.

<static> s7sdk.event.VideoEvent.NOTF_DURATION
Defines the value of the type property for a VideoEvent object. This event notifies that the video duration has changed.

<static> s7sdk.event.VideoEvent.NOTF_LOAD_PROGRESS
Defines the value of the type property for a VideoEvent to notify of active loading in progress.

<static> s7sdk.event.VideoEvent.NOTF_NAVIGATION
This event is dispatched by the VideoPlayer to notify that navigation data is available or modified.

<static> s7sdk.event.VideoEvent.NOTF_SEEK
Defines the value of the type property for a VideoEvent event object. This event is dispatched by the VideoPlayer to notify when a seek is performed.

<static> s7sdk.event.VideoEvent.NOTF_VIDEO_END
This event is dispatched by the VideoPlayer to notify when the current playback ended. If VideoPlayer's loop modifier set in 1 playback never stops and this event never fires.

<static> s7sdk.event.VideoEvent.NOTF_VOLUME
Defines the value of the type property for a VideoEvent event object. This event is dispatched when the volume of the target component has changed.

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Oct 15 2020 11:59:12 GMT-0000 (UTC)