开发者

Flash always above? Fix with css?

开发者 https://www.devze.com 2023-04-02 10:15 出处:网络
So i recently added a video from youtube on my website and my footer is positioned as fixed, and the flash move goes above it, is it any way to fix that? Tricks and mix with css maybe?

So i recently added a video from youtube on my website and my footer is positioned as fixed, and the flash move goes above it, is it any way to fix that? Tricks and mix with css maybe?

Any help would be greatly than开发者_Python百科ked..

Preview: http://swipper.org

-swipper


In your YouTube iframe, add &wmode=Opaque to the URL, see here

Note that transparent wmode usually isn't necessary (vs "opaque") for positioning, unless you truly want to make part of the Flash transparent since it's more resource intensive.


Set the background of your Flash file to transparent by setting the wmode parameter to transparent in the embed code. See here for more info.


If you can use your URL like "http://www.youtube.com/embed/OleH02U_qRw?wmode=opaque", means you have to add "?wmode=opaque" at the end of URL then it will work fine for all major browsers.

0

精彩评论

暂无评论...
验证码 换一张
取 消