Embedding Flash & Quicktime Via JavaScript
Posted
by thesunneversets
on Stack Overflow
See other posts from Stack Overflow
or by thesunneversets
Published on 2010-06-11T23:23:47Z
Indexed on
2010/06/11
23:32 UTC
Read the original article
Hit count: 247
I have a JavaScript function that loads a flash movie into a webpage div using swfobject.embedSWF().
I want to be able to, alternatively, load a .mov file into the same div, in the event that this is the file found instead of the .swf.
Is there a close equivalent to swfobject.embedSWF for the purposes of embedding a .mov file? If not, what is an efficient route to doing this using JavaScript?
© Stack Overflow or respective owner