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:
MediaTag: mediaReplacement: {param}Example:Media Link goes hereDescription:The [media] tag allows you to play certain type of media within your posts.Use {option}: NOButton Image: images/media.gif
CSS: Additional CSS Definitions
In second box input:
.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!!
utw-Mephisto
12-15-2005, 11:40 PM
Awesome :)
Works like a charm ..
newfun
12-15-2005, 11:42 PM
Cool! Thanks
:devious:
How can I remove the music link below media phayer? I don't really like that look
utw-Mephisto
12-15-2005, 11:52 PM
It would be great to have this bbcode visible for members only .. maybe somehow combined with the hide hack ..
loiloiloiloi
12-15-2005, 11:53 PM
cool, thank a lot ! :D
utw-Mephisto
12-16-2005, 12:08 AM
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
12-16-2005, 12:17 AM
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
12-16-2005, 12:27 AM
... 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
12-16-2005, 12:34 AM
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
12-16-2005, 12:38 AM
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
newfun
12-16-2005, 12:44 AM
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
12-16-2005, 12:44 AM
where exactly do i put this code please??????
.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;
}
newfun
12-16-2005, 12:55 AM
cpanel -> style &...-> Select style --> Main CSS
Rickie3
12-16-2005, 01:34 AM
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
12-16-2005, 06:02 AM
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
12-16-2005, 06:50 AM
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
12-16-2005, 08:07 AM
so which one should we download? The partstart one or the other one?
kadafi_alive
12-16-2005, 09:11 AM
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?
newfun
12-16-2005, 09:12 AM
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.
newfun
12-16-2005, 09:22 AM
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
12-16-2005, 09:26 AM
looks horrible .. :
http://ut2007world.com/showthread.php?p=23128#post23128
nexus851
12-16-2005, 09:34 AM
so which file do we download to make it work on IE and FIREFOX??? or at least the most compatible version out...
NuclioN
12-16-2005, 09:35 AM
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
12-16-2005, 09:36 AM
looks horrible .. :
http://ut2007world.com/showthread.php?p=23128#post23128
The same here.
newfun
12-16-2005, 09:48 AM
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
12-16-2005, 10:03 AM
I have also tried other media formats (eg rm) and they don't work. Nothing appears.
utw-Mephisto
12-16-2005, 10:12 AM
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
12-16-2005, 11:04 AM
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
12-16-2005, 02:46 PM
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
12-16-2005, 08:55 PM
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.
newfun
12-17-2005, 03:26 AM
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
12-17-2005, 10:50 AM
both doesnt work for me at all... text dissapears for the non-parse and the parse says something like "bbcode hack.....etc.."
beebi
12-17-2005, 04:09 PM
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
12-17-2005, 05:21 PM
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.
KevNJ
12-17-2005, 10:02 PM
Hm.... Its installed and shows up but no music of other files actually play.
KevNJ
12-17-2005, 10:13 PM
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
12-17-2005, 11:55 PM
It works on my board with wysiwyg turned off. Can you test it out with that feature turned off.
Firefox 1.07 w/o WYSIWYGhttps://vborg.vbsupport.ru/http://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
https://vborg.vbsupport.ru/
Some file types do things like this when used:
teamgofast
12-18-2005, 12:40 AM
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
12-18-2005, 03:29 AM
How can we make it not auto play?
How can we make it not auto play?
By default it is not auto play.
SouthernTn
12-18-2005, 05:16 AM
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
<font color="#FFFFFF">
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
12-18-2005, 08:29 AM
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
12-18-2005, 10:07 AM
:( :( :(
beebi
12-18-2005, 10:32 AM
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
KevNJ
12-18-2005, 02:16 PM
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
12-18-2005, 05:05 PM
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
A R G
12-19-2005, 10:41 AM
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
12-19-2005, 12:33 PM
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
12-19-2005, 03:12 PM
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
12-19-2005, 06:46 PM
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
12-19-2005, 06:57 PM
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
12-19-2005, 06:59 PM
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
dan35
12-19-2005, 07:08 PM
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
12-20-2005, 01:57 AM
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?/
seany1
12-28-2005, 09:09 PM
Thanks works excellent :)
guyfromkop
12-30-2005, 02:03 AM
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
12-30-2005, 07:08 AM
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
12-30-2005, 03:06 PM
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
12-30-2005, 03:10 PM
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-01-2006, 06:26 PM
ok, this only works once, cant do multiple posts, anyone find out why yet?
ctsolutions
01-02-2006, 03:55 PM
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
01-03-2006, 11:27 AM
Works Great, no problem on IE or FF or Netscape.
Click INSTALL! dHo
ctsolutions
01-04-2006, 08:43 PM
@Masiello
can we see a screen with your FF ? cose on my board not works
thanks,
mike
andy1074
01-09-2006, 02:30 PM
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
01-09-2006, 03:19 PM
Yes, this hack does not appear to be fully functional...
andy1074
01-10-2006, 05:59 PM
ooooo shit
dragonlove
01-22-2006, 12:15 AM
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
01-22-2006, 12:29 AM
Would someone mind picking this mod up? It was a fantastic idea, and in some ways was DOA.
Sychev_S
01-29-2006, 05:00 PM
Is there anyway to enable that code for unregistered users? somehow only registered members can see the media.
silurius
01-29-2006, 08:55 PM
I would suggest uninstalling this mod and going with this new one instead.
yessir
01-31-2006, 12:26 AM
Your media gif image looks remarkably like part of an icon from the vBStyles Element set.
defcon_420
04-05-2006, 01:22 PM
no doubt about it, you rock! "Clicked Install"
redlabour
09-19-2006, 09:56 PM
Works great with 3.6.1 !! Thx ....
RFViet
12-10-2006, 04:27 PM
If I want different tag instead of [media], how to do that ??
bongwater
01-08-2007, 03:10 PM
How can I make the media window left-aligned, instead of being in the center?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.