The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
A liitle help inserting video & swf files into the body of a post.
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 Stagehand |
#2
|
|||
|
|||
To do this, you should make a custom bb code so you won't have to use html code.
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> 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="{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> so when you put your avi or mpg or whatever in, it will look like: Code:
[movie]myawesomemovie.avi[/movie] |
#3
|
|||
|
|||
Quote:
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 |
#4
|
||||
|
||||
if the bbCode already exisits you can find it in the AdminCP -> Custom bbCode -> bbCode Manager
|
#5
|
|||
|
|||
Quote:
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, [vid]www.myserverlocation/My Downloads/cablewrap.avi[/vid] 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 |
#6
|
||||
|
||||
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 |
#7
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|