www.webdeveloper.com
Results 1 to 4 of 4

Thread: Embedding Video on website

  1. #1
    Join Date
    Jan 2011
    Posts
    6

    Unhappy 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
    Code:
    <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

  2. #2
    Join Date
    Jun 2008
    Location
    Europe
    Posts
    1,113
    http://kb2.adobe.com/cps/127/tn_12701.html

    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:
    HTML Code:
    <object data="mov.mpg" type="application/mov">
        <embed src="mov.mpg" type="application/mov" />
    </object>

  3. #3
    Join Date
    Jun 2008
    Location
    Europe
    Posts
    1,113
    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.

  4. #4
    Join Date
    Feb 2008
    Posts
    31
    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
    Mike McGuinness
    http://flvhosting.com

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles