Youtube subtitles and language parameters

  • Unknown's avatar

    I’m playing with subtitles on a youtube embed and trying to pass the language parameter and closed caption parameters, but WordPress is stripped them.

    The cc_load_policy=1 turns on closed captions
    The hl=th switches to Thai Youtube player and Thai closed captions.

    But these are stripped from the embed, and the video shows with no captions and the English player.

    Is there any workaround for this?

    e.g. this embed, has closed captions on, and language Thai, but both of these parameters are stripped from the finished youtube embed.
    [youtube=http://www.youtube.com/watch?v=Jh1XGf-zNxU&w=425&h=349&cc_load_policy=1&hl=th]

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi. Try this code:
    [gigya src="http://www.youtube.com/v/Jh1XGf-zNxU" width="425" height="350" flashvars="cc_load_policy=1&hl=th" type="application/x-shockwave-flash"]
    Of course, feel free to adjust the width and height.

    Thanks to Sanjidas (*) and Panos (**) for the inspiration :-)

  • The topic ‘Youtube subtitles and language parameters’ is closed to new replies.