Quantcast
Channel: support.jwplayer.com :: Streaming
Viewing all articles
Browse latest Browse all 2800

WebVTT on meta event

$
0
0
I have a WebVTT track with json data and I need meta events fired so that I can show a related image or data. I only need this for Chrome Desktop. When I load the WebVTT track as subtitles, it shows the text overlaid with the video. So I know the WebVTT loads correctly. But when I change the type to metadata, I do not get events for on('meta'). What else do I need to do to make this work? Thanks! me.jwplayerInstance.setup({ hlshtml: true, primary: 'html5', autostart: true, autoplay: true, width: '100%', height: '300px', playlist: { file: url, preload: 'metadata', tracks: [{ file: vttUrl, 'default': true, label: 'English', srclang: 'en', kind: 'metadata' //subtitles, metadata, captions, descriptions, chapters }] } });

Viewing all articles
Browse latest Browse all 2800

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>