Closed (fixed)
Project:
Video
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
12 Oct 2006 at 00:36 UTC
Updated:
14 Oct 2009 at 21:30 UTC
hey there, on sites with non-white backgrounds it would be nice if youtube and google videos had a wmode=transparent added in.
also it keeps them from interfering with nice-menus that drop over them
// this will be executed by not Internet Explorer browsers
$output = '<!--[if !IE]> <-->
<object type="application/x-shockwave-flash" wmode="transparent" width="'. $width .'" height="'. $height .'"
data="http://www.youtube.com/v/' . check_plain($node->vidfile) . '">
<!--> <![endif]-->' . "\n";
// this will be executed by Internet Explorer
$output .= '<!--[if IE]>
<object type="application/x-shockwave-flash" wmode="transparent" width="'. $width .'" height="'. $height .'"
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">
<![endif]-->' . "\n";
Comments
Comment #1
ikke commentedComment #2
ikke commentedComment #3
Veggieryan commentedwhy won't fix?
will this break something?
otherwise movies have ugly white borders on non-white backgrounds and drop down menus dont work.. LAME.
Comment #4
ikke commentedSet it to "won't fix" was a bad click to early in the morning. I change it back to "active" a minute later. Sorry for confusion.
Ikke
Comment #5
Veggieryan commentedare there any side effects that would keep this from being committed?
Comment #6
fax8 commentedis the wmode attribute a valid W3C one?
is the code proposed valid W3C code?
If yes please roll out a patch and I will commit asap.
Fabio
Comment #7
EvanDonovan commentedHas this ever been committed to the 5.x version?
Comment #8
fax8 commentedNo. Because it turned out that this option is not W3 compatible. I'm trying to let video module to generate strict XHTML code.
Anyone knows any alternative?
Comment #9
hypertext200