Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Inconsistent captions formatting with captions embedded in .ts files


Between browsers, we're seeing inconsistent styling of embedded captions in JW Player 7.10.7. In an earlier version of the player, all browsers had displayed the captions in a DOM-accessible div which we were able to style using CSS. Now the captions don't appear in that div. Applying styling to the captions during player setup only appears to be effective in Chrome, not Firefox or Internet Explorer.

We'd like to horizontally center the captions window and position it slightly above the bottom third of the player window.

Any ideas on what to try?

Here's a sample page:

http://video.leg.bc.ca/captions/

1 Community Answers

Alex

JW Player Support Agent  
0 rated :

Hi there,

We improved styling support for captions in Firefox in version 7.11.0 of the player. I was able to get your page to style the captions correctly if I used 7.11.0, or later, and also if I wrapped the .setCaptions() call in an .on(‘firstFrame’) event listener.

playerinstance.on("firstFrame", function() {
  playerinstance.setCaptions({"color": "#ff0000", "backgroundOpacity":"0", "windowOpacity": "50", "windowColor":"#000000"});
});

Please let me know if you need any more help or have any other questions.

Thank you!

This question has received the maximum number of answers.