Lunarpages Web Hosting Forum

Author Topic: How To: Embed video using Media Player  (Read 12081 times)

Offline Enforcer

  • Newbie
  • *
  • Posts: 1
Re: How To: Embed video using Media Player
« Reply #15 on: April 26, 2006, 02:39:41 PM »
Hi,
I am definitely a newbie to this whole HTML thing. So, today i searched for the code to embed streaming video on my website. I went into my control panel, selected file manager, then selected my index.HTML page to embed the code on. Then I selected edit with HTML editor. After I entered the code, I selected "preview" and it was working fine. I then selected the "save" icon to save the code to my website. Sometime during the save things went terribly wrong. My website's main page is completely blank! Someone PLEASE help! PLEASE tell me what I did wrong AGAIN! Now, I have to wait to get my site restored. My website is www.findlayrugby.com Thanks.
« Last Edit: April 26, 2006, 03:59:39 PM by Enforcer »

Offline DSB

  • Computer Nerd
  • Jabba the Hutt
  • *****
  • Posts: 597
  • Programmer of things...
    • b-a-k-e-r.com
Re: How To: Embed video using Media Player
« Reply #16 on: August 16, 2006, 01:33:56 AM »
The <embed> tag is not recognized as a web standard.  Try this:
Code: [Select]
<object classid="clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
        codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
        standby="Loading Microsoft Windows Media Player components..."
        type="application/x-oleobject" width="somewidth" height="someheight">
   <param name="fileName" value="whatever.wmv" />
   <param name="animationatStart" value="true" />
   <param name="transparentatStart" value="true" />
   <param name="autoStart" value="true" />
   <param name="showControls" value="true" />
</object>
<!--[if !IE]><-->
<object type="application/x-oleobject" width="somewidth" height="someheight" data="whatever.wmv">
   <param name="animationatStart" value="true" />
   <param name="transparentatStart" value="true" />
   <param name="autoStart" value="true" />
   <param name="showControls" value="true" />
</object>
<!--> <![endif]-->