I would like to be able to embed video files into my webpage. The code I'm using at the present is this:
Unfortunately, the code does not validate, and although it works on most of the browsers I've tested it on, even IE, it doesn't working on Safari for the iPhone.
Is there a way to get it to validate while working across multiple browsers and is there a way to get it to work on the iPhone (even if that stops it validating)?
Code:
<p style="text-align: center;"><object width="325px" height="280px" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112" standby="Loading Windows Media Player components..." type="application/x-oleobject" classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95"> <param name="FileName" value="http://www.[I]mysite[/I].co.uk/[I]myvideo[/I].wmv" /> <param name="autostart" value="true" /> <param name="ShowDisplay" value="false" /> <param name="ShowControls" value="true" /> <param name="ShowStatusBar" value="false" /><embed width="325px" height="280px" src="http://www.[I]mysite[/I].co.uk/[I]myvideo[/I].wmv" pluginspage="http://www.microsoft.com/windows/windowsmedia/download/" type="application/x-mplayer2"></embed></object></p>
Is there a way to get it to validate while working across multiple browsers and is there a way to get it to work on the iPhone (even if that stops it validating)?
Comment