embedding video...

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
StuL
New Member
New Member
Posts: 6
Joined: Sun May 17, 2009 8:36 am

embedding video...

Post by StuL »

I didnt know where else to put this... :'(

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>
The media player shows, but the controls dont work.

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...
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: embedding video...

Post by Nullig »

You could try using the Object tag:

http://dev.cmsmadesimple.org/projects/objecttag

Nullig
StuL
New Member
New Member
Posts: 6
Joined: Sun May 17, 2009 8:36 am

Re: embedding video...

Post by StuL »

magical. that was the answer. thanks  ;)
viebig

Re: embedding video...

Post by viebig »

great! thanks for using it.

Please let me know if you have feature requests.

add [solved] to the subject so other can take benefit of this discussion

Regards
Post Reply

Return to “CMSMS Core”