PDA

View Full Version : A liitle help inserting video & swf files into the body of a post.


Stagehandspace
10-13-2008, 01:45 AM
Hello one and all.

Please bare with me being that I am "fresh" to the coding aspect of my forum.

I am trying to insert an avi video and (or) a swf file into the body of a post. I have had a friend take care of my interests in the past and he is on vacation . I remember him telling me to wrap the image. I understand the wrap part but am befuddled on what I should wrap the video and then what I wrap the swf. with?

Could some one straighten out this grumpy old mans problem?

Thanx in Advance

Regards

:confused:Stagehand:confused:

fattony69
10-13-2008, 02:49 AM
To do this, you should make a custom bb code so you won't have to use html code.

<object id="MediaPlayer1" CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
standby="Loading Microsoft Windows? Media Player components..." type="application/x-oleobject" width="280" height="256">
<param name="fileName" value="MOVIE NAME HERE">
<param name="animationatStart" value="true">
<param name="transparentatStart" value="true">
<param name="autoStart" value="true">
<param name="showControls" value="true">
<param name="Volume" value="-450">
<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="MOVIE NAME HERE" name="MediaPlayer1" width=280 height=256 autostart=1 showcontrols=1 volume=-450>
</object>

Thats what I use for the bb code originally, here is it when it is going into:

<object id="MediaPlayer1" CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
standby="Loading Microsoft Windows? Media Player components..." type="application/x-oleobject" width="280" height="256">
<param name="fileName" value="{param}">
<param name="animationatStart" value="true">
<param name="transparentatStart" value="true">
<param name="autoStart" value="true">
<param name="showControls" value="true">
<param name="Volume" value="-450">
<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="{param}" name="MediaPlayer1" width=280 height=256 autostart=1 showcontrols=1 volume=-450>
</object>

and then put the brackets as like movies:

so when you put your avi or mpg or whatever in, it will look like:

myawesomemovie.avi

Stagehandspace
10-13-2008, 03:01 AM
To do this, you should make a custom bb code so you won't have to use html code.

<object id="MediaPlayer1" CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
standby="Loading Microsoft Windows? Media Player components..." type="application/x-oleobject" width="280" height="256">
<param name="fileName" value="MOVIE NAME HERE">
<param name="animationatStart" value="true">
<param name="transparentatStart" value="true">
<param name="autoStart" value="true">
<param name="showControls" value="true">
<param name="Volume" value="-450">
<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="MOVIE NAME HERE" name="MediaPlayer1" width=280 height=256 autostart=1 showcontrols=1 volume=-450>
</object>

Thats what I use for the bb code originally, here is it when it is going into:

<object id="MediaPlayer1" CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
standby="Loading Microsoft Windows? Media Player components..." type="application/x-oleobject" width="280" height="256">
<param name="fileName" value="{param}">
<param name="animationatStart" value="true">
<param name="transparentatStart" value="true">
<param name="autoStart" value="true">
<param name="showControls" value="true">
<param name="Volume" value="-450">
<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="{param}" name="MediaPlayer1" width=280 height=256 autostart=1 showcontrols=1 volume=-450>
</object>

and then put the brackets as like movies:

so when you put your avi or mpg or whatever in, it will look like:

myawesomemovie.avi

Thanx Kindly for the quick reply

The code has been written by my web master, BUT I could not remember what to wrap the file with. So yo have covered the avi but what would i wrap swf files with?

Cheers

SEOvB
10-13-2008, 03:48 AM
Thanx Kindly for the quick reply

The code has been written by my web master, BUT I could not remember what to wrap the file with. So yo have covered the avi but what would i wrap swf files with?

Cheers

if the bbCode already exisits you can find it in the AdminCP -> Custom bbCode -> bbCode Manager

Stagehandspace
10-13-2008, 05:12 AM
if the bbCode already exisits you can find it in the AdminCP -> Custom bbCode -> bbCode Manager

Thanx for the quick reply

In the bbCode Manager the following is what I found

<div><center><embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" name="mediaplayer1" showstatusbar="1" EnableContextMenu="false" autostart="false" width="450" height="300" transparentstart="1" loop="0" controller="true" src="{param}"></embed></center></div>

So I tried to post with pasting the below code into a post and had no luck,

www.myserverlocation/My Downloads/cablewrap.avi

I have no idea where I have went wrong! (LOL)

I am also wanting to know how I would insert a swf file like a vid, is this possible also?

I will wait patiently for some assistance

Cheers

steve3402000
10-24-2008, 05:10 AM
avi's dont stream, Id suggest converting with DIVX, if you imbed a Avi youll be waiting all day for it to load, they are the biggest, clearest, and take about 2 gigs a min at hi res. I converted a 2 gig Avi to a DIVX file, of about 120 megs, and it streams,
Still dont know how to imbed a divx yet, but I did do the youtube imbedding with the bbcode

Steve

Stagehandspace
10-24-2008, 06:17 PM
avi's dont stream, Id suggest converting with DIVX, if you imbed a Avi youll be waiting all day for it to load, they are the biggest, clearest, and take about 2 gigs a min at hi res. I converted a 2 gig Avi to a DIVX file, of about 120 megs, and it streams,
Still dont know how to imbed a divx yet, but I did do the youtube imbedding with the bbcode


Steve

I am now using the newest AME Mod and have done just fine with the stock youtube and will be adding the DJ AME Local Host files soon. I will post back on my results when I get it done.