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

Subtitle's (caption's) font size + space are different now but before it was ok


JavaScript API

Here is a link where you can see issue - http://goo.gl/bCaVG3
And here is link for screenshot - http://i.imgur.com/8ch91ph.jpg?1

Subtitle's (caption's) font size + space between control bar and caption aren't same as before but I haven't changed anything in my code for sure.

It was working fine already over 6months. It seems that something had been changed in your javascript library. Because, for example, now when I'm checking caption's span tag - it is empty. Please check screenshot with above link and you will see what I mean.

Do you know why it is like this? I need to find solution urgently. Please advise.

Thanks.

9 Community Answers

Alex

JW Player Support Agent  
0 rated :

Hi there,

With the release JW Player 7.4, we switched to using native HTML5 <track> elements in Chrome for captions. This move was made to improve performance of the player. In making this change, it is no longer possible to programmatically retrieve the the contents of the captions file from the player. You can read more about the changes in JW Player 7.4 on our Developer Guide.

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

Thank you!

contact

User  
0 rated :

Hi,

From guide that you gave me, I see this:

Additional 7.4 Releases:
7.4.1 - 5/6/2016
Caption styling will now work with native HTML5 tracks in Chrome Desktop
When rendering captions in Chrome natively, "fontSize" in the "captions" block will not be obeyed, due to font scaling.

So will there be any fix for this so that font size, color, text shadow will be customizable? Because my subtitles aren't good at all.

Please let me know.
Thanks.

contact

User  
0 rated :

Currently I'm using this script for your library: (<script type="text/javascript" src="http://content.jwplatform.com/libraries/yazJoBho.js"></script>)

Can you please give me link for the previous version where this subtitle issue isn't exist ?

Thanks.

Alex

JW Player Support Agent  
0 rated :

Hi there,

There’s nothing to fix because it’s how Chrome renders captions specified in <tracks> tags. You should still be able to set color or any of the other captions configuration options, just not fontSize for the reason you referenced.

If you would like us to send you a self-hosted copy of JW 7.3.6, we can do that but we can’t on this forum post. Please email support@jwplayer.com and reference case # 81389 in the subject line of your email.

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

Thank you!

contact

User  
0 rated :

Hi Alex,

I just sent an email to support@jwplayer.com with case number in the subject line. Will wait for your replay email.

Thank you!

contact

User  
0 rated :

Hi,

I've tried to change jwplayer.js file from that version. But nothing had been changed. I need library js file, not jwplayer.js. So I'm using this script (http://content.jwplatform.com/libraries/yazJoBho.js), and I need older version of this script, where captions aren't being displayed via html5 <track> element. Can you please give me that script ?

Thanks.

Alex

JW Player Support Agent  
1 rated :

Hi there,

I believe my colleague Donni already sent you a self-hosted copy of JW Player 7.3.6. The jwplayer.js file found in the ZIP file he sent you is exactly the same as http://content.jwplatform.com/libraries/yazJoBho.js was when it was at version 7.3.6. The only difference is that http://content.jwplatform.com/libraries/yazJoBho.js contains the default player configuration that you set up in your Account Dashboard.

You will have to set up whatever changes you made to the default configuration in your embed code. For example, it looks like from http://content.jwplatform.com/libraries/yazJoBho.js that you have done the following:

  • Set the player to autostart
  • Set the player to hide the content’s title
  • Set the player to hide the visual playlist
  • Setup a logo
  • Changed the skin of the player to “glow” and set the highlight/active color to “#f67777”

I’ve taken a self-hosted version of 7.3.6 and set up a demo for you with all of your custom settings to show you how to do it.

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

Thank you!

contact

User  
0 rated :

Hi Alex,

Ok, I will try and let you know if have any questions. Thanks

contact

User  
0 rated :

Thank you very much. My issue is solved.

This question has received the maximum number of answers.