These API calls are used to listen to or update the active captions track if one or more closed captions tracks are provided with a video. This API can be used to log captions usage or build your own CC menu outside JW Player.
setCurrentCaptions(index) Change the visible captions track to the provided index. The index must be within the list provided by getCaptionsList. Note an index of 0 always turns the captions Off.
onCaptionsList(callback) Fired when the list of available captions tracks is updated. Happens shortly after a playlist item starts playing. Event attributes: tracks (Array): the full array with new captions tracks.
onCaptionsChange (callback) Fired when the active captions track is changed. Happens in respons to e.g. a user clicking the controlbar CC menu or a script calling setCurrentCaptions. Event attributes: track (Number): index of the new active captions track in the getCaptionsList() array. Note the captions are Off if the track is 0.
Example set up
Refer below API list for better understanding :
Multiple Subtitle Tracks
Adding Video Captions
Hope it helps :)
I'm working on a project in PHP, where from a library of tracks, a user can select a track, choose a snippet from that track of a few seconds in length, and use that snippet as a search parameter on t
I would want to change the track a slider. Is there a way to do this?
This is how I usually start a video file with fancybox and jwplayer. Head:/* ... */
player should load here
I want to know everything about JWplayer , What programming languages ??to be used for the construction of these Plugins , Is there any sites help me to start Developing on jwplayer i wish someone hel
I am trying to draw scatter diagrams with interpolate lines using SPSS 21 and 22. However, the caption generated by the SPSS shows captions of remarks and interpolation line separately. Look at the le
Can anyone provide an example of how to retrieve captions for YouTube video? Based on API docs, API request https://gdata.youtube.com/feeds/api/videos?q=surfing&caption&v=2 returns list of vid
I am trying to figure it out is it that I have to use Wowza streamer along with JWPlayer to stream the video or JWPlayer streams video for me. So i will have JWPlayer java script in my web page with
I have a webapplication which has a memory leack somewhere and I am unable to detect it. I already tried the Chrome developer tools which normally work great, but I am unable to track down the lines o
Im trying to use the questionID variable to keep track of some questions and answers. But it seems I have problem with that the variable lose its memory, for each time I run my function ? thats what I