
CAption
Hi, i work with jwplayer 6 & 7 version.i am able to load the video player but not able to show the caption in VTT format.
i am able to load the cc button but not able to retrieve the caption file.
Here is my code.:
This is my folder: D:\MyTest\jwplayer-7.2.2
<script type = "text/javascript" src = "D:\MyTest\jwplayer-7.2.2\jwplayer.js"></script>
<div id = "myElement"> Loading the jwpalyer7....</div>
<script type ="text/javascript">
jwplayer("myElement").setup({
playlist: [{
file: "D:/MyTest/jwplayer-7.2.2/MUNA.mp4",
titile: "My file",
width: 682,
height: 239,
tracks: [{
file: "D:/MyTest/jwplayer-7.2.2/upc-video-subtitles-en.vtt",
label: "English",
kind: "captions",
"default": true
}]
}]
});
</script>