
Player not responsive when closed captions are added
HI, I can get JW Player to be responsive but as soon as I add closed captions it stops becoming responsive and stays at a fixed size. The captions work but the responsiveness doesn't. Is there a way to have both responsiveness and closed captions?
This is the code I am using:
<script type="text/javascript">
jwplayer("vidspace2").setup({
playlist: [{
file: "videos/freedom_docu.m4v",
image: "images/docu_front.jpg",
width: "100%",
aspectratio: "16:9",
tracks: [{
file: "videos/freedom_docu_captions.vtt",
label: "English",
kind: "captions",
"default": true
}]
}]
});
</script>
Many thanks!