Dynamically Embedding QuickTime Movies
March 17th, 2005If your work involves embedding QuickTime movie files into web-pages then beware; we have found that there are some pitfalls! Support for the two tags EMBED and OBJECT seems to vary from browser to browser. IE gives priority to the OBJECT tag, FireFox to EMBED. Not only this, but Apple seems to give precedence
to the EMBED tag for many of its proprietry parameters.
All of this means you need to be careful when generating HTML pages on-the-fly using JavaScript. We found that the only way to support both browsers was to rely on the EMBED tag and, in fact, not to use the OBJECT tag at all. For static content this does not seem to be a problem, but if you wish to change parameters such as href or src it does.

