The following tables list the members exposed by VideoPlayerClientEvents.
Name | Description | |
---|---|---|
BannerClick | Occurs when the banner is clicked. Function takes arguments evt and ui. Use ui.bannerElement to get the banner html element in the DOM. | |
BannerHidden | Occurs 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. | |
BannerVisible | Defines 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. | |
BookmarkClick | Occurs 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. | |
BookmarkHit | Occurs 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. | |
BrowserNotSupported | Occurs when browser does not support HTML 5 video. | |
Buffering | Occurs 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. | |
Ended | Occurs 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. | |
EnterFullScreen | Occurs when igVideoPlayer enters full screen mode. Function takes arguments evt and ui. Use ui.source to get the url of the playing video. | |
ExitFullScreen | Occurs when igVideoPlayer exits full screen mode. Function takes arguments evt and ui. Use ui.source to get the url of the playing video. | |
Paused | Occurs 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. | |
Playing | Occurs 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. | |
Progress | Occurs 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. | |
RelatedVideoClick | Occurs 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. | |
Waiting | Occurs 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. |
View on GitHub