Embedding videos

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
Zappa
Forum Members
Forum Members
Posts: 53
Joined: Thu Jan 04, 2007 9:44 pm

Embedding videos

Post by Zappa »

Is there a way how to embed videos that work in IE7 and Firefox.... I'm using the following code but it doesn't seem to load

Code: Select all

<object id="MediaPlayer1" style="left: 0px; width: 349px; top: 82px; height: 285px" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsm p2inf.cab#Version=5,1,52,701" type="application/x-oleobject" standby="Loading Microsoft Windows® Media Player components..." classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" height="285" width="349">
	<param value="/downloads/media/video.wmv" name="fileName">
	</param>
	<param value="true" name="animationatStart">
	</param>
	<param value="true" name="transparentatStart">
	</param>
	<param value="true" name="autoStart">
	</param>
	<param value="true" name="showControls">
	</param>
	<param value="-450" name="Volume">
	</param>
</object>
I've also tried:

Code: Select all

<embed src="/downloads/media/video.wmv" displaybackcolor="black" showstatusbar="1" height="369" width="410"></embed>
Thanks everyone
cubix
Power Poster
Power Poster
Posts: 314
Joined: Mon Jul 09, 2007 10:00 am

Re: Embedding videos

Post by cubix »

have a look in the forge, there are a few modules for playing videos..

FLVPlayer and Play would be a good place to start
Zappa
Forum Members
Forum Members
Posts: 53
Joined: Thu Jan 04, 2007 9:44 pm

Re: Embedding videos

Post by Zappa »

cubix wrote: have a look in the forge, there are a few modules for playing videos..

FLVPlayer and Play would be a good place to start
I've already had a look at them and the description says they are currently for flash players, audio files and FFmeg?
I didn't want to use the {embed} tag built in the CMS because that uses iFrames.

Thanks
vaughnt
Forum Members
Forum Members
Posts: 82
Joined: Tue Jun 13, 2006 2:05 pm

Re: Embedding videos

Post by vaughnt »

Zappa-

You can use a standard HTML Object tab, with the Embed tag inside it. This works for both IE and Firefox. Nothing CMSMS to do with it.

Here is an example I used on http://www.edamar.com ...

Code: Select all

<object width="192" height="153" type="application/x-oleobject" standby="Loading Windows Media Player components..." 
classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" id="MediaPlayer">
<param value="uploads/videos/KitBooks.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="192" height="173" stretchtofit="1" autostart="0" showdisplay="0" showstatusbar="0" showcontrols="1"
 name="MediaPlayer" src="uploads/videos/KitBooks.wmv" type="application/x-mplayer2"></embed>
</object>
Note that Autostart is set to False and "0" in this case... you would set yours to True and "1" to make it play automagically.
--
My photography: http://vaughnsphotoart.com
Festiva Resorts: http://www.festiva.travel
Post Reply

Return to “CMSMS Core”