View Full Version : 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 (http://attachment.php?attachmentid=39456&stc=1) instead of the first one.
Upload the media.gif into your images directory
BBCODE:Title:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Tag:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Replacement:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Example:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Description:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Use {option}:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Button Image:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
CSS: Additional CSS Definitions
In second box input:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
That is it. You are done!!
utw-Mephisto
16 Dec 2005, 01:40
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
utw-Mephisto
16 Dec 2005, 01:52
It would be great to have this bbcode visible for members only .. maybe somehow combined with the hide hack ..
loiloiloiloi
16 Dec 2005, 01:53
cool, thank a lot ! :D
utw-Mephisto
16 Dec 2005, 02:08
There seems to be another problem too ... everybody else can only see the written tag, like bla.mp3 ...
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?
It would be great to have this bbcode visible for members only .. maybe somehow combined with the hide hack ..
It now has the hide option to guest. Just download the xml file again and upload to your site
utw-Mephisto
16 Dec 2005, 02:17
Can I take a look at your site?
Sure
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
utw-Mephisto
16 Dec 2005, 02:27
... 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
utw-Mephisto
16 Dec 2005, 02:34
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.
utw-Mephisto
16 Dec 2005, 02:38
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.
Mmm.... I am not a coder tbh, don't know if any hack is using that ... I mean I don't mind if it doesn't work on reply, but again, just post it, leave the thread and view your own thread without reply and it is gone .. Thanks for looking into it .... I need to go for today ... :( thanks
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.
Rickie3
16 Dec 2005, 02:44
where exactly do i put this code please??????
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
cpanel -> style &...-> Select style --> Main CSS
Rickie3
16 Dec 2005, 03:34
cpanel -> style &...-> Select style --> Main CSS
DOH thankyou
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.
Uh oops I forgot that link there. I reupload the new file. Can you give admin access to your site?
utw-Mephisto
16 Dec 2005, 08:02
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
utw-Mephisto
16 Dec 2005, 08:50
Thanks a lot man ....... :) I REALLY appreciate it ...
I don't know what that use for. I also already test the media bbcode but after I refesh . It apear a music link.
Download the product-bbcodeplayall-parsestart.xml and replace the other one.
kadafi_alive
16 Dec 2005, 10:07
so which one should we download? The partstart one or the other one?
kadafi_alive
16 Dec 2005, 11:11
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.
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?
U right! same here I test the second one worked on IE but not for fire fox
utw-Mephisto
16 Dec 2005, 11:26
looks horrible .. :
http://ut2007world.com/showthread.php?p=23128#post23128
nexus851
16 Dec 2005, 11:34
so which file do we download to make it work on IE and FIREFOX??? or at least the most compatible version out...
NuclioN
16 Dec 2005, 11:35
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.
NuclioN
16 Dec 2005, 11:36
looks horrible .. :
http://ut2007world.com/showthread.php?p=23128#post23128
The same here.
so which file do we download to make it work on IE and FIREFOX??? or at least the most compatible version out...
none of them work with fire fox but I am sure the second one work on IE
maybe we can wait some one clever to solve this
kadafi_alive
16 Dec 2005, 12:03
I have also tried other media formats (eg rm) and they don't work. Nothing appears.
utw-Mephisto
16 Dec 2005, 12:12
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 ...
nexus851
16 Dec 2005, 13:04
none of them work with fire fox but I am sure the second one work on IE
maybe we can wait some one clever to solve this
thanx, im gonna wait off till the bugs are all cleared up then..
croportal
16 Dec 2005, 16:46
nice plugin....i click install
can u tell me what is for 2 plugins????? and withc plugin i upload
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?
Try the new upload file. I fixed that media code. When it comes to FF, it think it is depend on the plugins that your browser can import.
I have also tried other media formats (eg rm) and they don't work. Nothing appears.
I fixed that too. Can you try the new file!
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.
Try the second product with parsestart word.
nice plugin....i click install
can u tell me what is for 2 plugins????? and withc plugin i upload
It is depend on your board. I would try the first one first.
croportal
16 Dec 2005, 22:55
It is depend on your board. I would try the first one first.
i have 3.5.0 version of vbulletin
If you use the first one product bbcodeplayall.xml (attachment.php?attachmentid=39514) Does it work?
none of them work with fire fox but I am sure the second one work on IE
maybe we can wait some one clever to solve this
It works with firefox for me.
Really? Did you try to refresh your browse and it still okay? I can't believe it because I already tried both of them but none work with fire fox.
Good on you.
Works fine. After several refreshes.
Though swf's don't display right. They show a lot of extra code with the video it's playing.
nexus851
17 Dec 2005, 12:50
both doesnt work for me at all... text dissapears for the non-parse and the parse says something like "bbcode hack.....etc.."
take my hack it well help u in this
http://www.7beebi.com/vb/uploaded/1/extratools3.zip
http://7beebi.com/vb/showthread.php?t=480
and i hope u help my to :surprised:
silurius
17 Dec 2005, 19:21
Did a quick test (first plugin) and I love it, but will have to wait for the bugs to get fixed before I can roll this out fully. Windows Media works fine under Firefox. Quicktime fails under Firefox. Both fail under IE. The player windows do appear, they're just unusable. Also, I'm not sure if this is your plugin or just custom BBcodes in general, but when I go to edit a post with this in it, I see all the raw html and not the BBcode stuff.
Still clicking Install. Kudos.
Excellent hack! I've experienced no problems since installing, but from the sounds of it other users may so I'll put the full rollout on hold. But I'm very interested in hearing about bug fixes and updates!
On a side note, is there a way to change the text/background of the header and footer appearing above and below the media player window?
Edit: There's also a space between the header and the video itself, as well as a space separating the video and the footer.
Hm.... Its installed and shows up but no music of other files actually play.
I got it. Works perfectly in IE version 6.0.2800, not sure about any other browsers for IE is the only one I care to use.
Did a quick test (first plugin) and I love it, but will have to wait for the bugs to get fixed before I can roll this out fully. Windows Media works fine under Firefox. Quicktime fails under Firefox. Both fail under IE. The player windows do appear, they're just unusable. Also, I'm not sure if this is your plugin or just custom BBcodes in general, but when I go to edit a post with this in it, I see all the raw html and not the BBcode stuff.
Still clicking Install. Kudos.
It works on my board with wysiwyg turned off. Can you test it out with that feature turned off.
silurius
18 Dec 2005, 01:55
It works on my board with wysiwyg turned off. Can you test it out with that feature turned off.
Firefox 1.07 w/o WYSIWYGhttp://www.evolverproject.com/help/images/media_bbcode_issues.jpghttp://www.evolverproject.com/forum/help/images/media_bbcode_issues_firefox.jpg
IE 6.0.2900.2180 w/o WYSIWYGhttp://www.evolverproject.com/forum/help/images/media_bbcode_issues_ie.jpg
http://www.evolverproject.com/help/images/media_bbcode_issues.jpg
Some file types do things like this when used:
teamgofast
18 Dec 2005, 02:40
couldnt get the other one to work so i installed this one, works like a charm and doesnt eat my server space!!!! LOL
thnx
Tested it fully in Firefox and IE and works great!!
This is a screenshot of the only problem I'm having. Gaps between the video and the header/footer and the purple text that's hard on the eyes :ermm:
SouthernTn
18 Dec 2005, 05:29
How can we make it not auto play?
How can we make it not auto play?
By default it is not auto play.
SouthernTn
18 Dec 2005, 07:16
Mine autoplays.. How can I fix this?
Tested it fully in Firefox and IE and works great!!
This is a screenshot of the only problem I'm having. Gaps between the video and the header/footer and the purple text that's hard on the eyes :ermm:
Look for
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
and change it to any color you like.
Mine autoplays.. How can I fix this?
I think it is only auto start with real and mov
find
<param name="AutoStart" value="TRUE">
or
autostart="true"
and set them to false
take my hack it well help u in this
http://www.7beebi.com/vb/uploaded/1/extratools3.zip
http://7beebi.com/vb/showthread.php?t=480
and i hope u help my to :surprised:
I couldn't read the txt file that you have included. It is not in English
Some file types do things like this when used:
Hi Tim
Do you enable HTML where you have this hack tested out? I got the same problem when I turn on HTML. When I turn it off, it is okie
andy1074
18 Dec 2005, 10:29
i do imprt product-bbcodeplayall-parsestart.xml the first
next import the bb code
next import product-bbcodeplayall.xml and owerwright
but i dont see this hack where install in my borad
http://www.biyaban.com/forums
please help me
take my hack it well help u in this
http://www.7beebi.com/vb/uploaded/1/extratools3.zip
http://7beebi.com/vb/showthread.php?t=480
and i hope u help my to :surprised:
umm whats it for? any kind of xtra toolsbar ???
Can u pls xlplain......???
Thanks
I like this One.
'Klik Instal"
andy1074
18 Dec 2005, 12:07
:( :( :(
yes it's xtra botton for flash rm mp3 wma GLOW BLINK GRADE move
see this plz
http://7beebi.com/vb/showthread.php?t=480
i do imprt product-bbcodeplayall-parsestart.xml the first
next import the bb code
next import product-bbcodeplayall.xml and owerwright
but i dont see this hack where install in my borad
http://www.biyaban.com/forums
please help me
import the parsed file list, overwrite what you have.
then add the bb code
install the media gif picture
your done
go to your forums and you should see the option
silurius
18 Dec 2005, 19:05
Not sure if the plugins were changed or not, but I downloaded and installed both again and still no worky.
umm any can show a perfect working demo ? plz
Edit: it seems to me this one only works..if files stay only its own ftp..
but did it able to handle any thing...like movie trailer from..
apple.com or warnerbros.com ??
could u plese help to play trailer from any other place...
Thnks
works fine but is there any way to make the videos "media" files wider?? as some quick time .mov file you cant see the buttons"play" etc.??? help would be great :)thanks
MissKalunji
19 Dec 2005, 14:33
Upload the media.gif into your images directory
BBCODE:Title:
Code:
MediaTag:
Code:
mediaReplacement:
Code:
{param}Example:
Code:
Media Link goes hereDescription:
Code:
The [media] tag allows you to play certain type of media within your posts.Use {option}:
Code:
NOButton Image:
Code:
images/media.gif
CSS: Additional CSS Definitions
In second box input:
HTML Code:
.bbcode_hack
{
background-color: #FFFFFF;
border-left: 6px solid #ACDB3C;
border-right: 1px dotted #333333;
border-top: 1px dotted #333333;
border-bottom: 1px dotted #333333;
margin: 8px auto 0px auto;
padding: 5px; color:#333333;
}
That is it. You are done!!
where am i suppose to input all that?
The first part is where you add the additional bbcode under admincp
The second part is where you add the css under templates section
MissKalunji
19 Dec 2005, 17:12
The first part is where you add the additional bbcode under admincp
The second part is where you add the css under templates section
meaning template? im sorry :-/ im lost
n e one has a demo?
Admincp > Styles & Templates > Style Manager > Click GO button next to the drop down list box of your style(s)
After the screen display your template sections, scroll down to the section where it says "ADDITIONAL CSS"
add the above css to the end of the second box of that section and click SAVE
MissKalunji
19 Dec 2005, 20:46
BBCODE:Title:
Code:
MediaTag:
Code:
mediaReplacement:
Code:
{param}Example:
Code:
Media Link goes hereDescription:
Code:
The [media] tag allows you to play certain type of media within your posts.Use {option}:
Code:
NO
What about this?
silurius
19 Dec 2005, 20:57
BBCODE:Title:
Code:
MediaTag:
Code:
mediaReplacement:
Code:
{param}Example:
Code:
Media Link goes hereDescription:
Code:
The [media] tag allows you to play certain type of media within your posts.Use {option}:
Code:
NOWhat about this?
That was the BBCODE - go to admincp / Custom BB Code / Add New BB Code and input those values as directed in the first post.
MissKalunji
19 Dec 2005, 20:59
That was the BBCODE - go to admincp / Custom BB Code / Add New BB Code and input those values as directed in the first post.
thanks thats the part i didnt understand
doesn't work on my IE and FF.
After testing some more I've run into a problem. It seems that I can make only one post with the inline video working. If I try to make a second post, it just shows up as html. Example: These two posts are in the same forum, linked to the same video, same permissions.
Post 1 (working): http://www.canadasportbike.com/forum/showthread.php?t=6847
Post 2 (not): http://www.canadasportbike.com/forum/showthread.php?t=6849
silurius
20 Dec 2005, 03:57
After testing some more I've run into a problem. It seems that I can make only one post with the inline video working. If I try to make a second post, it just shows up as html. Example: These two posts are in the same forum, linked to the same video, same permissions.
Post 1 (working): http://www.canadasportbike.com/forum/showthread.php?t=6847
Post 2 (not): http://www.canadasportbike.com/forum/showthread.php?t=6849
That sounds exactly like what I was experiencing earlier.
Any further development on this mod? I would really like to see it work.
hello it can handle only media files located on its own ftp...
if media files located in other ftp? can it handle that?/
Thanks works excellent :)
guyfromkop
30 Dec 2005, 04:03
mine works good after doign a million times, is there a way to change the heading from "windows media player"? and ever figure out how to make the windows files auto start?
GuaRRand
30 Dec 2005, 09:08
Doesnt work at all for me...neither one.
Just shows HTML code
mine works good after doign a million times, is there a way to change the heading from "windows media player"? and ever figure out how to make the windows files auto start?
You'll just have to go through and edit the XML file for each format, and then re-upload to the server. You can also change the autostart in there.
Have you been able to make multiple inline posts with it working on all of them?
guyfromkop
30 Dec 2005, 17:06
Doesnt work at all for me...neither one.
Just shows HTML code
mine was doing that and i just took everything off and reinstalled in the order he gave it
guyfromkop
30 Dec 2005, 17:10
You'll just have to go through and edit the XML file for each format, and then re-upload to the server. You can also change the autostart in there.
Have you been able to make multiple inline posts with it working on all of them?
do you know what code i have to change? and do you mean numerous posts on the same thread with videos in them all?
There has been several ways posted here. What steps should I take to get this working? Thanks in advance.
guyfromkop
01 Jan 2006, 20:26
ok, this only works once, cant do multiple posts, anyone find out why yet?
ctsolutions
02 Jan 2006, 17:55
Not work with Opera, Firefox 1.5, 1.7
Work with IE but only with manual insert xxxx
Not work with media.gif click cose the inserted code is the not working
[MEDIA]xxxx[/MEDIA
any fix ?
Thanks,
mike
Masiello
03 Jan 2006, 13:27
Works Great, no problem on IE or FF or Netscape.
Click INSTALL! dHo
ctsolutions
04 Jan 2006, 22:43
@Masiello
can we see a screen with your FF ? cose on my board not works
thanks,
mike
andy1074
09 Jan 2006, 16:30
hi
please help me
The first time I did this It was correct, However The next time that I tried to view it There was a problem and everytime since.
http://www.biyaban.com/forums/showthread.php?p=82082#post82082
silurius
09 Jan 2006, 17:19
Yes, this hack does not appear to be fully functional...
andy1074
10 Jan 2006, 19:59
ooooo shit
dragonlove
22 Jan 2006, 02:15
The bbcode is working really well, but after posting the the media didn't even work, I have to refresh it before the code is working and i dont want guest to view the source and get the link of the music would you mind helping meh to fix that bbcode?
silurius
22 Jan 2006, 02:29
Would someone mind picking this mod up? It was a fantastic idea, and in some ways was DOA.
Sychev_S
29 Jan 2006, 19:00
Is there anyway to enable that code for unregistered users? somehow only registered members can see the media.
silurius
29 Jan 2006, 22:55
I would suggest uninstalling this mod and going with this new one instead.
Your media gif image looks remarkably like part of an icon from the vBStyles Element set.
defcon_420
05 Apr 2006, 15:22
no doubt about it, you rock! "Clicked Install"
redlabour
19 Sep 2006, 23:56
Works great with 3.6.1 !! Thx ....
If I want different tag instead of [media], how to do that ??
bongwater
08 Jan 2007, 17:10
How can I make the media window left-aligned, instead of being in the center?
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.