开发者

SWFObject like setup for Unity

Is there a SWFObject type setup for embedding Unity content and having a fallback HTML content (with a link to install th开发者_Go百科e plugin)?

The JS included with Unity only allows for a button they've created.


Here's the official guide

Basically, for non-IE browsers, you check that the plugin's installed using javascript, and for IE, you use VisualBasic scripting. Their code isn't terribly pretty (all those document.write calls - ugh!) but it's robust.

You can always take their code, clean it up and wrap it in a nicer package. I know I did (but for a client, so I can't give you the code - sorry)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜