Moparnuts Media Player

dodgechargerfan

In a 55 gallon drum, floating down river, and
Staff member
We've added another bell (or maybe it's a whistle)....

Actually it's both - and more!

If you have a link to a media file that you want to put into one of your posts, you can use the new media BBCode. [ MEDIA]

You use it just like the image BBCode, [ img] except this one has the ability to deal with 60 different file types.

You can see it in action here. (That post is why I added the feature. :cool: )

There are options that can be used. If you can decipher the stuff below, go ahead and use them. If not, the first example is nice and simple and should be familiar to anyone that has ever used the quote or image tags on a forum.


How to Use:
---------------------------------
Tag without options:[ MEDIA]url_of_the_file[/media]

ex.
[ MEDIA]http://www.server.com/file.mp3[/media]
Shown as an mp3 player (Uses the flash mp3 player by default).

Tag with options:
[ MEDIA=width,height,autostart,extension]url_of_the_file[/media]
[ MEDIA=width,height,autostart]url_of_the_file[/media]
[ MEDIA=width,height]url_of_the_file[/media]

ex.
[ MEDIA=100,200,yes,rm]http://www.server.com/file.mp3[/media]
It will use the real player to play the file.mp3,
the object is 100px width, 200px height, and it will autostart.

[ MEDIA=150,250,0]http://www.server.com/file.swf[/media]
It will use the flash player to play the file.swf,
the object is 150px width, 250px height, and it will NOT autostart.

[ MEDIA=211,421]http://www.server.com/file.pdf[/media]
It will post the pdf object on the page,
the object is 211px width, 421px height.

Other Rules:
1.WIDTH and HEIGHT are both required if you want to use options.
2.Available values for the AUTOSTART option: 1, true & yes.
3.Separate the options with commas, don't add quotes.

The links used can be full links to other sites. Even google videos.
However, it has to be links to the actual media file, not an html page that loads the media.


Note: In the text above, I added a space in the tags so that you can see the text used for the tags. Without the space, the forum software would try and make the examples load as media.. When you use the media tag, make sure there are no spaces in between the "[", "media", and the "]". Get it?
 
Cool feature, it's gonna come in real handy, and I can foresee it getting lots of use.:bwuhaha:
 
Some of the sites that show videos and such offer a download link. If you right click and hit "copy shortcut", that will give a link to the actual file.

So, for example, if I take the link from the "fishy on a joyride?" thread, which was a link to the html page:
http://videos.humpingfrog.com/14239/2006/04/extreme-burnout.html

and I right click on the "download" link on that page and hit "Copy Shortcut", I get this link when I paste it in my post:

http://content.humpingfrog.com/movies/sub_14239.wmv

If I take that link and wrap it in the media tag, I get this:

[MEDIA]http://content.humpingfrog.com/movies/sub_14239.wmv[/MEDIA]
 
Ah! So there's a bit of trick to it as well.

You have to clear the checkbox that says "Automatically parse links in text"

That's part of the Advanced editor - what you get when you click the "Go Advanced" button below.

That adds a bit of complexity to it. I'll see if there's a workaround for it.
In the meantime, try it out and let me know if you run into problems.
 
testing a google video:

[MEDIA]http://video.google.com/videoplay?docid=9039198920455138083&q=Charger&pl=true[/MEDIA]
 
holeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
we'd better talk. you are good Brother Sir
 
So is that your Charger in that green Charger vid? If so where's the pics man?!:wtf:
 

SiteLock

SiteLock
Back
Top