Embedding Video on website
Hello I have a website that i need to run some video on windows media this is the code I used
<embed src="swf/MOV00835.MPG" width="388" height="302" hidden="false" autostart="true" controller="true" pluginspage="swf/MOV00835.MPG">
The problem is all you see is the media player but not the video running not sure why that is? Can anyone help
Embed is an old tag. Try the Object tag.
Then you might need to do a bit of trickery to make it appear in older browsers... like this:
<object data="mov.mpg" type="application/mov">
<embed src="mov.mpg" type="application/mov" />
This will probably add to your confusion, but what the heck...
In the 90's EMBED was the Netscape way of doing it, OBJECT was Microsoft's. Netscape wanted to use EMBED chiefly for Java applets. Microsoft wanted to use OBJECT for any object with a registered MIME type, including Java applets, ActiveX (COM) objects and much more.
The W3C decided to adopt a modified version of Microsoft's OBJECT, much to the chagrin of Netscape. Netscape reluctantly started to support OBJECT, but with a strange, er..., bug. If you tried to use OBJECT for ActiveX objects, Netscape crashed! It didn't ignore OBJECT. It actually crashed the browser. And people say Microsoft is evil!
Early releases of IE were also screwed. IE3 crashed if you tried to use OBJECT for anything else BUT an ActiveX control. IE6 crashes EVERYTHING (well, almost...)
Now, I hear that EMBED has been resurrected as part of HTML5.
Just kill me.
I would convert the file http://www.flvencoder.com
then use a flash player
www.freehtml5player.com will play it in browser or in devices such as iphone
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)