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

Jwplayer Track WebVTT File Error

$
0
0
Hey guys so I have this problem placing in captions into my video. I'm placing my .vtt as a value inside my object but it seems like the browser doesn't like the way it was output. I'm following this guide here This is the Error that pops up on my console {name: "", message: "Converting circular structure to JSON", error: TypeError: Converting circular structure to JSON at Object.stringify (native) at Object. 00:00:15.000 What brings you to the land of the gatekeepers? 00:00:15.500 --> 00:00:20.500 I'm searching for someone. 00:00:36.500 --> 00:00:39.000 A dangerous quest for a lone hunter. 00:00:41.500 --> 00:00:44.000 I've been alone for as long as I can remember. **Javascript** jwplayer("my-video").setup({ file: "", width: "100%", aspectratio: "24:10", primary: "flash", tracks: [{ file: "/assets/captions/captions-en.vtt", label: "English", kind: "captions" }] }); I also made sure I saved as "UTF-8" encoding. Am I missing something from this tutorial? https://support.jwplayer.com/customer/en/portal/articles/1407438-adding-closed-captions

Viewing all articles
Browse latest Browse all 2800

Trending Articles



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