15

I have uploaded the video on YouTubeand added the subtitles but the users don't realize that they can turn them on. I know there is particular URL parameter for embedded player, but it doesn't work for youtube.com itself. I have tried:

http://www.youtube.com/watch?v=wWMMgHobF6g&hl=de&cc_lang_pref=de&cc_load_policy=1

and it returns the page in German, but does not turn the subtitles on.

How can I force YouTube to use subtitles on youtube.com itself?

  • 2
    For others researching the same: right now, only &cc_load_policy=1 seems to work, as it turns the CC on, but no language can be set... pity, it's so convenient to share links properly – brasofilo Feb 26 '16 at 2:18
3

I've found out how to do it.

Add

&hl=de&cc_lang_pref=de&cc=1

to your video url, and subtitles will be on youtube.com by default. Of course, you need to use your language instead of de.

  • 8
    Not working anymore :( – kbtzr Sep 16 '15 at 3:22
  • 2
    that was a dirty hack with limited lifetime :D – eviltnan Sep 18 '15 at 12:06
1

The only way I found is changing the URI from

https://www.youtube.com/watch?v=2s3aJfRr9gE

to this pattern

"https://www.youtube-nocookie.com/embed/" + VIDEO_ID + "?hl=" LANG_CODE

If hl= doesn't work (on some cases doesn't seems to work) try cc_load_policy=1&cc_lang_pref=.

On bash/Linux you can just copy the URI with that structure and then run this command (Spanish code hardcoded) to transform clipboard content (you can make an alias):

xclip -selection c -o | echo "$(cat -)?&hl=es-419" | sed "s|youtube.com/watch?v=|youtube-nocookie.com/embed/|1" | xclip -selection c

You can list the available subtitles ISO 639-1 language codes with youtube-dl:

youtube-dl --list-subs "{video_id or url}"

Drawbacks:

  • the video will cover the complete screen... which might be good thing to stop procrastinating with related videos :)
  • It seems that doesn't work with automatic generated captions.
  • This seems to change the UI language, but doesn't show the subtitles. – Tin Man Apr 19 at 22:35
  • But adding &cc_lang_pref=de&cc_load_policy=1 (e.g. youtube-nocookie.com/embed/…) seems to work! – Tin Man Apr 19 at 22:37

protected by Community Jul 19 at 19:14

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.