
Multi language chapters
Hi,
In native HTML, I can specify the srclang associated with a chapter vtt file :
<track src="chapters.vtt" kind="chapters" srclang="en" />
Are multi language chapters supported in JWPlayer ?
Thanks and regards,
Hi,
In native HTML, I can specify the srclang associated with a chapter vtt file :
<track src="chapters.vtt" kind="chapters" srclang="en" />
Are multi language chapters supported in JWPlayer ?
Thanks and regards,
Hello,
Thank you for contacting the support team. You can specify a specific caption file or .vtt that contains the desired language.
Once Video and Two VTT Sources Sample Code:
jwplayer(“myElement”).setup({
playlist: [{
file: “/assets/sintel.mp4”,
image: “/assets/sintel.jpg”,
tracks: [{
file: “/assets/captions-en.vtt”,
label: “English”,
kind: “captions”,
“default”: true
},{
file: “/assets/captions-fr.vtt”,
kind: “captions”,
label: “French”
}]
}]
});
You can also specify this in an RSS feed:
<rss version="2.0" xmlns:media="http://rss.jwpcdn.com/" > <channel> <item> <title>Sintel</title> <description>Sintel is a fantasy CGI from the Blender Open Movie Project.</description> <jwplayer:image>/assets/sintel.jpg</jwplayer:image> <jwplayer:source file="/assets/sintel.mp4" /> <jwplayer:track file="/assets/sintel-en.vtt" label="English" kind="captions" default="true" /> <jwplayer:track file="/assets/sintel-fr.vtt" label="French" kind="captions" /> </item> </channel> </rss>I’ve included the article link for your reference: http://support.jwplayer.com/customer/portal/articles/1407438-adding-closed-captions
Kindly,
Randy
The question was about Chapters (not Captions), and the answer is no.
James Herrieven
Hello James,
Are you running HLS?