html - How to make Flash autoplay using <embed> tag? -


when use <embed> tags this:

<embed src="flashfile.swf" autostart="true"></embed> 

it may not autoplay.

but if user other fromat this:

<embed src="flashfile.wmv" autostart="true"></embed> 

it work well. why?

i don't believe autostart attribute flash object interprets. embed tag doesn't have specification how object being embedded handles attributes or parameters passed, it's discretion of vendor creating object. so, essentially, wmv embed listens attribute called autostart, , swf not.

flash embeds automatically start, if there's actionscript stops animation or whatever else happening, there's not can do. if swf object has external interface enabled, can interact object javascript. other that, there's nothing else can do.

i hope provides insight!


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -