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

Caption's not showing


We are using SRT caption and apparently it does not show up un the video. The caption button however does appear to be active

http://www.sitepoint.com/videos-swift-functions/

We are using the same embedded code and it works with 6.9.4867

Your help is appreciated.

Cheers,

5 Community Answers

jherrieven

User  
0 rated :

That page link is 404ing.

simon.julian

User  
0 rated :

Oops sorry. This should be working

http://www.sitepoint.com/conditional-flows-in-swift/

jherrieven

User  
0 rated :

You have mixed protocol requests - your parent page is HTTP, but the requested assets are over HTTPS.

For some reason JW Player is not reporting this situation as an error, but the file will be falling over.

Try changing the protocol for the SRT file to HTTP, or the link to the JW library to:

https://jwpsrv.com/library/fhG4YvqNEeSK7Ap+lcGdIw.js

James

simon.julian

User  
0 rated :

Thanks James.

Changing the SRT file to HTTP works, but not the link JW library to HTTPS.

I think It's a bit odd that the video asset works in the instance while caption has different behaviour.

jherrieven

User  
0 rated :

I think you'd need to change the protocol of the parent page as well as the JW library in order to get that approach to work.

The actual media files are not subject to XHR requests where x-domain / x-protocol security is employed - although some browsers may complain in the console (and maybe in the future they'll actually fail the request).

Incidentally, my Tatami configuration solution for Online Video will automatically adjust the protocols for requested assets based on the parent page protocol - thus reducing the likely occurrence of this kind of configuration hiccup .

I've created a Tatami snapshot where you can see this in action:

http://dev.powered-by-haiku.co.uk/solutions/tatami/?share=2R4piE6Akb

James Herrieven

This question has received the maximum number of answers.