embedcode

  Rigsby Home   Rigsbys  Records  Photo's  Surnames  Orgins

God is our refuge and strength
a very present help in trouble. Ps.46:1

          
Credit for Code downloaded from  Webmonkey
Embedding a Windows Media Player
Go here to see an expample of how it works
 Embedding in Internet Explorer 
 Here's the code that you need to add to your HTML to embed the player in your Web page. Copy and paste this code fragment into your HTML document, and then we'll modify it. Note: Some of these lines are truncated to fit on the screen. When you drop this code onto your page, make sure the URLs and longer lines of code appear in one line.  You can assign a "true" or "false" value to animationatStart, transparentatStart, autoStart, and showControls. These all do pretty much what they sound like, and customizing your player with the tag is part of what makes embedding the Windows Media Player cool, so you should fool around with these options. Now that the code is in your HTML document, we need to add the URL of your file between the second set of quotation marks in this string:

<OBJECT

ID="mediaPlayer"

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">

<PARAM NAME="fileName"
VALUE="http://freepages.genealogy.rootsweb.com/~baxter/Rigsby/farm.wav">

<PARAM NAME="animationatStart" VALUE="true">

<PARAM NAME="transparentatStart" VALUE="true">

<PARAM NAME="autoStart" VALUE="true">

<PARAM NAME="showControls" VALUE="true">

</OBJECT>