Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can you enable automatic captioning in an embedded YouTube Video?

Tags:

html

youtube

I am having a difficult time embedding a YouTube video with the auto captioning (CC) button toggle. I have searched and the only thing I could find was documentation from Google stating I could add cc_load_policy=1 to the URL string to enable this.

After researching on here I came across this post: Youtube Closed Caption for HTML5 Not Working. One of the commenters mentioned they also set cc_load_policy to 1, however it looks like this may not longer be supported in newer videos? Is there a definitive source that states whether or not we can use automatic captioning in embedded videos? I would have assumed this should be an easy feature to add.

like image 244
Ian Carnaghan Avatar asked Jun 14 '17 20:06

Ian Carnaghan


People also ask

Can I embed YouTube video with captions on?

Make captions automatically appear for an embedded video by adding "&cc_load_policy=1" to the video's embed code. You can also choose a caption language for the embedded video. To specify the caption language for the video that you'd like to embed, just add "&cc_lang_pref=fr&cc_load_policy=1" to the video's embed code.

Do all YouTube videos have auto captions?

YouTube Live Automatic Captions For AllYouTube is making live automatic captions available for all creators.

How do automatic captions work on YouTube?

If automatic captions are available, they'll be published automatically on the video. Automatic captions may not be ready at the time that you upload a video. Processing time depends on the complexity of the video's audio. YouTube is constantly improving its speech recognition technology.

How do I find captions on YouTube videos?

Under the “Actions” button, you can see the time-code and captions. Review automatic captions. Note: Although YouTube has pretty accurate captions, automatic captions might misrepresent the spoken content due to mispronunciations, accents, dialects, or background noise.

How do I add captions or subtitles to a video?

From the left menu, select Subtitles. Click the video you want to add captions or subtitles to. Under “Subtitles”, click More next to the subtitles you want to edit. Review automatic captions and edit or remove any parts that haven't been properly transcribed. Troubleshoot automatic captions issues

Why are my YouTube captions not working?

YouTube is constantly improving its speech recognition technology. But automatic captions might misrepresent the spoken content due to mispronunciations, accents, dialects, or background noise. Always review automatic captions and edit any parts that haven't been properly transcribed.


1 Answers

After extensive research and asking a good friend of mine who is a YT expert, no, it is not currently possible.

Only good workaround I see right now is Plyr: https://github.com/sampotts/plyr Demo: https://plyr.io/

I tested it just now and it works great, but it's another plugin...

Exception: your own videos, you can turn CC on and it will reflect in the embedded versions, with a toggle button for CC (but will be on by default when the user plays the video on the page where it is embedded).

Cheers -

like image 126
avia Avatar answered Oct 25 '22 04:10

avia