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

Disable caption icon


Hi,

why is the caption icon displayed when there is no caption tracks available in the JS player?
Why is this behavior different than the flash player?
How do you disable/hide this icon in the JS player?

Thank you

11 Community Answers

r...

User  
0 rated :

Also, on a related note, why the JS player isn't showing the video quality levels? Even when setting manually the hlslabels params, it does not appear.

Using JWPlayer version 7.3.6 skin Five.

Randy

JW Player Support Agent  
0 rated :

Hello Raphael,

Are you referring to the JW Player? Also, the stream that you are potentially using could it perhaps have some dynamic 608 captions injected into the stream?

Thank you,
Randy

Raphael Daguenet

User  
0 rated :

Hi Randy,

yes I'm referring to the JW Player (javascript and flash versions). No they don't have any sort of captions, now or in the future. You can checkout the hls file as an example: https://cdn-stream-integration-1.tsu.co/bb2a0ddb-acb8-4afa-9f56-7f581d076cb6/manifest.m3u8

Thank you

Randy

JW Player Support Agent  
0 rated :

Hello Raphael,

I could not test the stream due to crossdomain.xml restrictions. I did however try to curl it and see that there does not seem to be any captions in the manifest as you have mentioned. Do you have a sample page where you are seeing the issue? Also, what version of the player are you currently using?

Randy

Raphael Daguenet

User  
0 rated :

Hey Randy,

you can test it yourself here: http://integration.tsu.co

Let me know

Randy

JW Player Support Agent  
0 rated :

Hello Raphael,

The link still has crossdomain.xml access restrictions. Can you please email support@jwplayer.com with a working link so we can help you.

Randy

Raphael Daguenet

User  
0 rated :

Hey Randy,

sorry for the delay, it is now working correctly.

Let me know

Thank you

Raphael Daguenet

User  
0 rated :

Sorry, I meant you can test it now on http://integration.tsu.co

Randy

JW Player Support Agent  
0 rated :

Hello Raphael,

I captured your m3u8 stream within the player and tested the HLS file in a basic video tag without JW Player and still see the same issue. Which leads me to believe there is something wrong with the stream. I didn’t see a specific source outright in the manifest but when checked in the browser there does seem to be a phantom source being pulled in as an “Unknown CC”. If you paste your stream here in a video tag or in Safari you will see the same behavior.

Randy

Raphael Daguenet

User  
0 rated :

Hello Randy,

alright, I had to manually specified no closed captions track to make it disappear like this:
#EXT-X-STREAM-INF:PROGRAM-ID=1,RESOLUTION=1280x720,CODECS="avc1.42001e",BANDWIDTH=16450000,CLOSED-CAPTIONS=NONE,NAME="720p"

See https://developer.apple.com/library/ios/qa/qa1801/_index.html

Thank you for debugging it and for your help

Randy

JW Player Support Agent  
0 rated :

Hello Raphael,

Glad we were able to find a solution.

Randy

This question has received the maximum number of answers.