Closed (fixed)
Project:
Media: YouTube
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
9 May 2013 at 00:04 UTC
Updated:
20 Feb 2014 at 19:00 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
GDrupal commentedPatch provided enables captions support with the option to set current system language as default caption too.
Comment #2
helior commentedThis is really handy!
I'd replace using LANGUAGE_TYPE_INTERFACE and the $GLOBALS variable directly with this:
And also check against accidentally using an 'und' language.
This patch certainly does the trick though, thank you.
Comment #3
dagmarWould be nice to have one or two line of comment to explain what is doing this new code.
Comment #4
GDrupal commentedMoving to more consistent
+ typo fix + explanatory comments.
Comment #5
dagmarYou could use LANGUAGE_NONE http://api.drupal.org/api/drupal/includes%21bootstrap.inc/constant/LANGU...
Comment #6
GDrupal commented@dagmar Done!
Comment #7
GDrupal commentedSorry moving to a single commit...
Comment #8
dagmarThanks!
Comment #9
iamEAP commentedPatch looks good, tested and it works as expected. +1 on RTBC
Comment #10
helior commentedRe-rolling dagmar's changes while fixing some merge conflicts.
Comment #11
aaron commentedCommitted to http://drupalcode.org/project/media_youtube.git/commit/3f8781b.