Showing results for 
Search instead for 
Do you mean 
If you don't find an answer, please click here to post your question.

Closed Captions showing in HTML5 + Safari + Mac

0 Kudos
Started ‎05-14-2015 by
Modified ‎10-24-2016 by

Closed Captions showing in HTML5 + Safari + Mac

by Ooyalan ‎05-14-2015 10:26 AM - edited ‎10-24-2016 11:12 AM (1,053 Views)

Issue: when using the HTML5 player on Desktop, closed captions do not show. However if the player is loaded using Safari on a Mac, the closed captions are shown.

Answer: We currently don't officially support closed captions on the HTML5 Player and Desktops, you can find the reference here:

http://help.ooyala.com/video-platform/reference/player_supported_technologies_and_devices.html

However Safari on a Mac computer is a special case, as it behaves the same as in iOS Devices. It loads the mobile stream (HLS), note that other browsers do not have that ability of doing this and they load the MP4 stream.

If our player finds that the video has a Closed Caption file associated (DFXP) it will try to show them, and it will not in case it is a platform/device we don't support.

Workaround: If you don't want to show them here as well, you could use our Player API. The function setClosedCaptionsLanguage(language) will do the trick, you just need to send "none" as a parameter:

setClosedCaptionsLanguage(none)

More details here: http://help.ooyala.com/video-platform/api/player_v3_apis.html

You would need to build a logic to detect that the Player has been loaded in Safari, on a Mac, using the userAgent value and if its the case, set the closed captions to none.