Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I am setting up youtube videos using the "eminline" filter and the html5/iframe option in media_youtube on my multilingual website. There is no language support in media_youtube so the Youtube player interface is always in English. There is no reason not to detect the current Drupal language and specify that in the URL (although testing reveals that the "hl" language argument may not always be honored, perhaps based on yt cookies).
Comments
Comment #1
RobW CreditAttribution: RobW commentedSounds like a great idea. Patches welcome.
Comment #2
tangent CreditAttribution: tangent commentedUpon investigation, I don't believe that Youtube supports localization of the player interface via arguments. Only cookies (language selection while visiting the youtube website) are supported as far as I can tell. The iframe/html5 embed solution seems still beta-ish so I'm guessing it just isn't supported yet but perhaps later. Bummer.
I'm not really interested in creating a patch to support this with the old flash embed method.
Comment #3
RobW CreditAttribution: RobW commentedAgree. Let's postpone this until we get a reliable/documented localization method with the iframe player.
Comment #4
apadernoI am closing this feature request, since it's for a project version no longer supported. Please re-open it if you would like the feature implemented in a supported project version.