
Multiple captions on web
I am looking for a way to house multiple captions in my jwplayer setup object. Right now the captions area of my setup object looks like:
{
captions: [
{
file: "captions1.srt",
kind: "captions",
label: "English"
},
{
file: "captions2.srt",
kind: "captions",
label: "French"
}
]
}
But with this, I do not see the CC icon in my control bar. Also, calling playerReference.getCaptionsList() returns an array:
[ {id: "off", label: "off"} ]
Any ideas how I can fix this? Thanks