![]() |
bbCode That Plays Most Media File
I am just being lazy to add all of the bbcode for
wma, wmv, avi, swf, mp3, wma, mpg, mpa, mpeg, mov. So I just come up with this little product that take care of them all - just one bbcode added Like the usual: There are known or unknown security risks for playing media file like flash file. It is up to you to take precaution Here is how can add this one. Add the product via products pannel NOTE: For some boards, the bbcode only work at the beginning of the code evaluation. If you encounter the problem where tag shows up, use product-bbcodeplayall-parsestart.xml instead of the first one. Upload the media.gif into your images directory BBCODE:Title: Code:
Media Code:
media Code:
[media]{param}[/media] Code:
[media]Media Link goes here[/media] Code:
The [media] tag allows you to play certain type of media within your posts. Code:
NO Code:
images/media.gif CSS: Additional CSS Definitions In second box input: HTML Code:
.bbcode_hack That is it. You are done!! |
Awesome :)
Works like a charm .. |
Cool! Thanks
:devious: How can I remove the music link below media phayer? I don't really like that look |
It would be great to have this bbcode visible for members only .. maybe somehow combined with the hide hack ..
|
cool, thank a lot ! :D
|
There seems to be another problem too ... everybody else can only see the written tag, like [media]bla.mp3[/media] ...
When I have been somewhere else in the forum and go back to my post I see the tag only too ... Only when I edit my own post and save it, THEN I can see the player within the post .. other people however still see only the tag itself ... |
Can I take a look at your site?
|
Quote:
|
Quote:
http://ut2007world.com/showthread.php?t=2046 I have not yet implemented the hide thingi for guests (thanks for that) ... |
I register as Moya and test out a media code. It works
http://ut2007world.com/showthread.php?p=23064#post23064 |
... not .. as I said, it seems it works only for the initial post, as soon as you leave the thread it is a tag only
http://img357.imageshack.us/img357/677/untitled1ar.jpg |
Yeah, just tested back and forth and asked other to test too ..
You post the media, then you can see the movie etc. then you go to another thread and then back again to the media post and THEN you can see the tag only ... |
Do you any hack that use the same bbcode_parse_complete? I think it only work with post that doesnt have any reply on your board. It is wierd. I will look into this problem tonite.
|
Quote:
|
I just checked in xml and I found that:
<plugin active="1"> <title>Play All Media bbcode_parse_complete</title> <hookname>bbcode_parse_complete</hookname> <phpcode><![CDATA[ //Play All Media bbcode by Stitch @ aotrangmongmo.com/chutgidenho.com global $vbulletin, $stylevar, $vbphrase; $homeurl = $vbulletin->options[bburl]; if (substr($homeurl,-1,1) != "/") { $homeurl = $homeurl ."/"; } //$homeurl='http://www.aotrangmongmo.com/vb35/'; I don't know what that use for. I also already test the media bbcode but after I refesh . It apear a music link. |
where exactly do i put this code please??????
Code:
.bbcode_hack |
cpanel -> style &...-> Select style --> Main CSS
|
Quote:
|
Quote:
|
uploaded new file, still same problem ..
Send PM |
I fix that problem. For some reason, your board start are thing at the beginning of the bbcode segment. You can check it out now
|
Thanks a lot man ....... :) I REALLY appreciate it ...
|
Quote:
Download the product-bbcodeplayall-parsestart.xml and replace the other one. |
so which one should we download? The partstart one or the other one?
|
Hmm,
The first one doesn't work on firefox (shows player but doesn't play) but works on IE. I have tested it with a mp3 file. Also, is there a way to autoplay it instead of pressing play? |
The first one wasn't right still have something wrong I don't know anyway thanks for sharing, I try the second one now, hope it work.
|
Quote:
|
looks horrible .. :
http://ut2007world.com/showthread.php?p=23128#post23128 |
so which file do we download to make it work on IE and FIREFOX??? or at least the most compatible version out...
|
doesn't work! New post gives only the url with media tags and when post in a already posted thread a horrible display of code appeared.
|
Quote:
|
Quote:
maybe we can wait some one clever to solve this |
I have also tried other media formats (eg rm) and they don't work. Nothing appears.
|
the weird thing : Some of MP3s etc. do work and some don't .. I disabled it for now since most of them don't and I get a lot of complains since people really like the tags ...
|
Quote:
|
nice plugin....i click install
can u tell me what is for 2 plugins????? and withc plugin i upload |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
All times are GMT. The time now is 03:50 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|