Closed (fixed)
Project:
Video Filter
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Nov 2011 at 16:02 UTC
Updated:
24 Apr 2012 at 20:41 UTC
Jump to comment: Most recent file
Comments
Comment #1
bartvdputte commentedI fixed this by changing line 199 in video_filter.codecs.inc from the 7.x-3.0-beta2 file from:
$url = $video['codec']['matches'][1] . '?' . implode('&', $attributes);to:
$url = $video['codec']['matches'][1] . '?' . "&wmode=transparent&" . implode('&', $attributes);Then the 'bug' dissapears.
Can you please fix this in the 'official release' as I'm sure more & more people will run into this (youtube is popular, d7 adminstration uses overlays intensively)
Comment #2
bartvdputte commentedpatch attached
Comment #3
fenda commented+1 please add this to production :)
Comment #4
blackdog commentedI fixed some markup issues with the patch and committed. Thanks!
Comment #5
universalhandle commentedwmode=transparent is probably not what you want. I think you're looking for wmode=opaque. From what I've read (for example, here: http://www.communitymx.com/content/article.cfm?cid=e5141), you want only transparent if you're going for actual transparency in your Flash movie (i.e., if your Flash movie is irregular or non-rectangular shaped, or to show elements placed beneath the Flash movie). In most cases, transparent and opaque behave the same, but transparent is more processor intensive.
Comment #6
m4rinos commentedI have the same problem, the iframe popping up in the Drupal 7 admin overlay with a HTML5 theme, but I'm using a regular iframe with a link to a game site in a node. As wmode (i believe) is a YouTube attribute, does anyone know how to prevent this behavior more generically?
Comment #7
traviscarden commentedYou're right, @pittstains:
wmodeshould be set to "opaque" unless you actually want to see the page background through the Flash (which you can't anyway with YouTube). This applies whether you use the HTML5 embed method or not. I've fixed and committed it to 7.x-3.x and 6.x-3.x.@artonice,
wmodeis a Flash parameter—it's not specific to YouTube—so you'll want to set it on any Flash embed. See the article Pittstains referenced. If youriframedoesn't have Flash in it, it could be a CSSz-indexissue.