HTML5 Viewer SDK API Documentation 

Namespaces


Class Index

Classes in s7sdk

Class s7sdk.VideoCapabilityState


Extends s7sdk.CapabilityState.

Manages a set of video capabilities. VideoPlayerState can be used to determine whether a video player can perform a certain action. For example, if the video player has the PAUSE capability flag set, then this indicates that the video can be paused.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
<static>  
s7sdk.VideoCapabilityState.MUTE
Indicates the video can be muted.
<static>  
s7sdk.VideoCapabilityState.PAUSE
Indicates the video playback can be paused.
<static>  
s7sdk.VideoCapabilityState.PLAY
Indicates the video can be played.
<static>  
s7sdk.VideoCapabilityState.REPLAY
Indicates the video can be replayed.
<static>  
s7sdk.VideoCapabilityState.STOP
Indicates the video playback can be stopped.
<static>  
s7sdk.VideoCapabilityState.UNMUTE
Indicates the video can be unmuted.
Methods borrowed from class s7sdk.CapabilityState:
clone, hasCapability, toString
Class Detail
s7sdk.VideoCapabilityState(caps)
Checking capability flags:

if(videoState.hasCapability(s7sdk.VideoCapabilityState.PLAY) {
   // We know that the VideoPlayer is able to play
} 
Parameters:
{Number} caps
(Optional) The initial capabilities. If undefined, then no capabilities are set.
Field Detail
<static> s7sdk.VideoCapabilityState.MUTE
Indicates the video can be muted.

<static> s7sdk.VideoCapabilityState.PAUSE
Indicates the video playback can be paused.

<static> s7sdk.VideoCapabilityState.PLAY
Indicates the video can be played.

<static> s7sdk.VideoCapabilityState.REPLAY
Indicates the video can be replayed.

<static> s7sdk.VideoCapabilityState.STOP
Indicates the video playback can be stopped.

<static> s7sdk.VideoCapabilityState.UNMUTE
Indicates the video can be unmuted.

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