Home >Web Front-end >HTML Tutorial >Solution to the problem of black and opaque flash swf files in Chrome (Google browser) and Firefox browser_html/css_WEB-ITnose

Solution to the problem of black and opaque flash swf files in Chrome (Google browser) and Firefox browser_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:47:061408browse

I have always seen that the FLASH on major websites have black frames. I am curious. Don’t they know that flash can be made transparent? So I used the IE Tab plug-in to browse and found that their webpage was normal again. Then I began to suspect that there was a problem with my Chrome, so after changing to multiple computers and operating systems, I found a way to cure the symptoms and the root cause:
When you encounter this website, try to use IE. If your website is also among this kind of website, then you may need to modify your website code
This is an html code with flash set to transparent

Copy code
After adding the above html code, you can achieve the purpose of IE browser flash transparency. However, Chrome and Firefox cannot be transparent.
How to set flash transparency in chrome browser and Firefox browser
Add the wmode attribute in the embed tag and assign it as "transparent"
wmode="transparent"
The overall call is like this:






< ;/object>

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn