Version

VideoPlayerClientEvents Class Members

The following tables list the members exposed by VideoPlayerClientEvents.

Public Fields
 NameDescription
Public FieldBannerClickOccurs when the banner is clicked.

Function takes arguments evt and ui.

Use ui.bannerElement to get the banner html element in the DOM.

 
Public FieldBannerHiddenOccurs when the banner is hidden.

Function takes arguments evt and ui.

Use ui.index to get the banner index in the banners array.

Use ui.banner to get the banner object from the banners array.

Use ui.bannerElement to get the banner html element in the DOM.

 
Public FieldBannerVisibleDefines the name of the player banner visible event. Fired when the banner has been displayed.

Function takes arguments evt and ui.

Use ui.index to get the banner index in the banners array.

Use ui.banner to get the banner object from the banners array.

Use ui.bannerElement to get the banner html element in the DOM.

 
Public FieldBookmarkClickOccurs when the bookmark is clicked.

Function takes arguments evt and ui.

Use ui.bookmark to get the bookmark object from the bookmarks array.

Use ui.bookmarkElement to get the html element in the DOM.

 
Public FieldBookmarkHitOccurs when the bookmark is hit.

Function takes arguments evt and ui.

Use ui.source to get the url of the playing video.

Use ui.bookmark to get the bookmark object from the bookmarks array.

Use ui.bookmarkElement to get the html element in the DOM.

 
Public FieldBrowserNotSupportedOccurs when browser does not support HTML 5 video.

 
Public FieldBufferingOccurs when a chunk of data is buffered.

Use ui.source to get the url of the playing video.

Use ui.buffered to get buffered percentage.

 
Public FieldEndedOccurs when video has ended.

Function takes arguments evt and ui.

Use ui.source to get the url of the playing video.

Use ui.duration to get the video duration in seconds.

 
Public FieldEnterFullScreenOccurs when igVideoPlayer enters full screen mode.

Function takes arguments evt and ui.

Use ui.source to get the url of the playing video.

 
Public FieldExitFullScreenOccurs when igVideoPlayer exits full screen mode.

Function takes arguments evt and ui.

Use ui.source to get the url of the playing video.

 
Public FieldPausedOccurs when video is paused.

Function takes arguments evt and ui.

Use ui.source to get the url of the playing video.

Use ui.duration to get the video duration in seconds.

 
Public FieldPlayingOccurs when video gets playing.

Function takes arguments evt and ui.

Use ui.source to get the url of the playing video.

Use ui.duration to get the video duration in seconds.

 
Public FieldProgressOccurs when video has advanced the playback position.

Function takes arguments evt and ui.

Use ui.source to get the url of the playing video.

Use ui.currentTime to get current position in the video at which the event was fired.

Use ui.duration to get the video duration in seconds.

 
Public FieldRelatedVideoClickOccurs when related video is clicked.

Function takes arguments evt and ui.

Use ui.relatedVideo to get the relatedVideo object from the relatedVideos array.

Use ui.relatedVideoElement to get the relatedVideo html element in the DOM.

 
Public FieldWaitingOccurs when igVideoPlayer is waiting for data from the server.

Function takes arguments evt and ui.

Use ui.source to get the url of the playing video.

Use ui.currentTime to get current position in the video at which the event was fired.

Use ui.duration to get the video duration in seconds.

 
See Also

View on GitHub