Forums / Setup & design / Invalid xhtml code for embeding .asf & .rm files.

Invalid xhtml code for embeding .asf & .rm files.

Author Message

John Smith

Monday 23 January 2006 5:28:58 am

hi there,

Hope someone can help me. I have embeded .asf and .rm files into ez publish 3.6.x.

The source code for windows media video file which is the .asp file given below:

<object ID="MediaPlayer"  CLASSID="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" STANDBY="Loading Windows Media Player components..." type="application/x-oleobject" width="300" height="300">
	<param name="filename" value="/news/content/download/67/226/name.asf" />
	<param name="autostart" value="1" />
	<param name="showcontrols" value="1" />
	<embed src="/news/content/download/67/226/name" type="application/x-mplayer2" pluginspage="" width="300" height="300" autostart="1" showcontrols="1" ></embed>
</object>

The page is not xhtml valid because of source ezpublish generating.

Same thing is happening for Real Player File.

<object classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="300" height="200">
<param name="src" value="/content/download/89/314/name.rm" />
<param name="controls" value="imagewindow" />
<param name="autostart" value="true" />
<embed src="/content/download/89/314/phpNOohcL.rm" pluginspage="http://real.com" type="audio/x-pn-realaudio-plugin" width="300" height="200" autostart="true" controls="imagewindow" ></embed>
</object>

The page is also not xhtml valid.

Please guide me how to make the pages accessible.

cheers

Regards.