Patch (to be ported)
Project:
Media: YouTube
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
28 Mar 2011 at 13:10 UTC
Updated:
1 May 2012 at 20:12 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dezofie commentedHi,
I made the patch for the fix.
Please test it out.
Comment #2
thomas bosviel commentedPatch works. Thanks.
Comment #3
johndeep commentedWe have the same issue with the 6.x-1.x-dev version of the module. We tried adding the attribute wmode="transparent" to the markup embed but the div is still below the player. Any help would be much appreciated.
Comment #4
msti@johndeep
Uncheck the 'Use the HTML5 player instead of the Flash-based' option from the "Embedded Media Field configuration' page and it will work.
Comment #5
aaron commentedComment #6
pierrot commentedFor version 6.1 dev, for those interested, here is the quick fix that worked for me :
in media_youtube.them.inc line 57 add 'wmode' => 'transparent', in the array $variables['query_defaults'].
You will then be able to use html5 without the player hiding other divs :)
Comment #7
aaron commentedI have committed a spruced up version of this. Thanks, @dezofie.
Comment #8
pgillis commentedIf you are struggling with this trying to use the html5 player, just tack wmode=transparent onto the list of parameters for the url in themes/media-youtube-html5.tpl.php
Comment #9
gavrillich commentedthis worked for me in media-youtube-html5.tpl.php:
src="<?php echo $url; ?>?wmode=transparent&hd=1