Embeded WMP

This is to make the little player working, which is on my page to descibe how to integrate the Windows Madia Player to a html page!

<object ID="MediaPlayer1" width=165 height=48 
	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="AutoStart" VALUE="True">	
 
  <param NAME="FileName" VALUE="1.mp3">
  <param NAME="ShowControls" VALUE="true">
  <param NAME="ShowStatusBar" VALUE="true">
  <embed type="application/x-mplayer2" 
	pluginspage =" http://www.microsoft.com/Windows/MediaPlayer/"
	SRC="1.mp3"
	name="MediaPlayer1"
	width=165
	height=46
	ShowStatusBar=true
	ShowControls=true>
  </embed>

Simple html header

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <meta name="author" content="Michael Moon, michael@moon.com"/>
    <meta name="keywords" content="culture, artist, language"/>
    <meta name="description" content="All the facts of nowadays ART"/>
    <meta http-equiv="cache-control" content="no-cache"/>
    <title>MoonBoots</title>
    <link href="Styles.css" rel="stylesheet" type="text/css">
    <script src="Scripts.js" type="text/javascript"></script>
  </head>
  <body>
  </body>
</html>

Some tags to start!

Using Regular Expressions

 
function transform(text) {
 
 text=text.replace(/é/gi,"e");
 text=text.replace(/(\bla\b)|(\ble\b)|(\bles\b)|(\bde\b)|(\bdes\b)|(\bdu\b)|(\ba\b)|(l')|(d')/gi,"");
 text=text.replace(/\//gi," ");
 
 return text;
}

3.) replaces the french character “é” with a “e” for all occurences
4.) delete some french words
5.) delete the special character slash with a space

For further information to the RegEx I recommend:

Regular_expression wiki