
Am trying to embed a vid on a CMSMS page by using the html option on the wysiwyg. I've tried the following code in a content block, on the page, and in a template.
Code: Select all
<object width="240" height="200" type="application/x-oleobject" standby="Loading Windows Media Player components..."
classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" id="MediaPlayer">
<param value="uploads/videos/What_is_video.wmv" name="FileName" />
<param value="false" name="autostart" />
<param value="true" name="ShowControls" />
<param value="false" name="ShowStatusBar" />
<param value="false" name="ShowDisplay" />
<param value="true" name="stretchToFit" />
<embed width="240" height="200" stretchtofit="1" autostart="0" showdisplay="0" showstatusbar="0" showcontrols="1"
name="MediaPlayer" src="uploads/videos/What_is_video.wmv" type="application/x-mplayer2"></embed>
</object>
Anyway, does anyone have any suggestions on how to properly embed a video file in a CMSMS page?
There are some really weird behaviours going on.
When I use the HTML switch on the content editor and paste the above code in, CMSMS dumps the object, but not the embed (both in the page and global content) Then if I go back to edit it again, the html view won't load, so I have to delete the vid from the wysiwyg to paste the code back in to the html view
I've tried embedding the code in between literal tags in the template, but thats not really the answer. (didn't make any difference anyway)
the vids are chmod 777 as is the video folder, and it isnt working in IE, FF, Opera and Chrome...
thanks for looking...