JWPlayer 5.7 and VTT Caption files
Does JWPlayer version 5.7 support close caption files in .VTT format? If so, does someone have a snippet demonstrating how, because I cannot get a VTT caption file to display.
I have successfully got an XML caption file working. However, we want to support vtt, and so far, no luck.
Below is a snippet of my script. If it's obvious what should be changed, please let me know.
<script type="text/javascript">
jwplayer("container").setup({
file: "test.mp4",
height: 270,
width: 480,
aspectratio: '16:9',
'plugins': {
'captions': {
file: 'testCaptions.vtt',
state: 'true'
}
},
});
</script>