質問

Is there a SWFObject type setup for embedding Unity content and having a fallback HTML content (with a link to install the 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)

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top