Page Index Toggle Pages: [1] 2 3 ... 16 Send TopicPrint
Very Hot Topic (More than 25 Replies) YaBB Media Center Y2.x V1.9 (Read 13241 times)
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
YaBB Media Center Y2.x V1.9
May 21st, 2006 at 7:49pm
Print Post  
Media_Center_Y2.x_V1.8.zip
quick_reply_box_v1_1_yabb21_addon__for_media_mod.mod


Renamed to Media Center to stay in line with YaBB2.2.

Ok, different approach but this mod allows you to add a large number of different multi media formats in any message using the html players for Microsoft, Apple QuickTime, Macromedia Flash or Real Audio media files.

UPDATED !!!

YaBB Media Center Y2.x V1.9

This mod allows the Multi Media files embedding in YaBB2 message.
It accepts .wma, .wax, .asx, .mid, .rmi, .wav, .wmv, .mp3, mp4, .avi, .mpg, .mpeg, .kar, .wpl, .asf, .rm, .ra, .ram, .qt, .mov, .qtm .swf, .divx, .xdiv google video files and youtube files and loads up the appropriate html player inside the message.

Usage
It works like .
Player parameters that can be fed into it are  

will open Windows Media Player width 500 and waits for the play button to be clicked to start the movie.

[media hide] or [media hidden] allows you to reduce a player to invisible (or 1 px for IE players).
This is of course only useful for audio tracks Tongue

Installation
Apply the mod, upload the changed YaBBC.pl and Post.pl.
Upload the changed ubbc.js in /yabbfiles/Templates
Upload MediaCenter.pl in /Sources and chmod it equal to the other pl's.
Upload mediaplayer.swf to /yabbfiles (in your public html area)
Take a drink and enjoy multi media embedding.

Version History
1.0
First release

1.1
Added asf and mov

1.2
Fixed multiple media files in one thread

1.3
Separated Windows Media Video and Audio player style so audio files do not have a black empty window.

1.4
Added Macromedia Flash support .swf
Added width control to all video players (audio defaults to 320 x 45 px)

1.5
Swapped Flash insert button in the UBBC row for an add Media Button.
Uninstall previous mod, install this version and upload YaBBC.pl, Post.pl, Post.lng and ubbc.js (which is in the zip altered from a clean distro)
Upload the media.gif button in your yabbfiles/Templates/Forum/default folder.
Instead of having an add Flash button you should now have a working Add Media button (perhaps clean your cache to allow the new js to be loaded)

1.6
Fixed Real Audio player not having a control center Smiley

1.6a
Fixed wrong js sub called in Post.pl mod code Smiley

1.7
- Renamed Embed_Media.pl to MediaCenter.pl
- Added all midi variant and a few extensions for WMP like wax and asx.
- Hardcoded a choice between media player 6.4, or 7, 9 or 10 (which can give compatibility problems on non Windows PC's)
- Added Mod Info

1.8
- Mod fix to find $defaultimagesdir instead if $imagedir
- Added improved YouTube support (both link types)
- Updated to the latest player code
- Added hide / hidden as a parameter to make audio players "hide" from the screen.

1.9
- Added support for mp4, flv, divx, xdiv and google video
- updated code base for flash player to version 9.x.x.x

Version 1.7 users only need to update MediaPlayer.pl !!

Live multiple video and audio demo: http://www.spikecity.net/articles/2006/05/21/2022/nen_board/1148239362 (only for members)
« Last Edit: Dec 4th, 2007 at 9:31pm by Spikecity »  

Media_Center_Y2_1_V1_9.zip ( 41 KB | Downloads )

Nothing to add here Smiley
Back to top
 
IP Logged
 
BlogTripper
Senior Member
****
Offline


My Son Abel love's YaBB
2.1

Posts: 347
Location: Manchester
Joined: Apr 7th, 2006
Gender: Male
Re: Embed Any Media Y2.x
Reply #1 - May 21st, 2006 at 7:54pm
Print Post  
Awesome!!  Thankyou for a Most Righteous Mod!
  

My mind went crazy and I don't know when it's coming back.  If you happen to see my mind please ask it if it's found my marbles yet, will you?
Back to top
WWW  
IP Logged
 
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
Re: Embed Any Media Y2.x
Reply #2 - May 21st, 2006 at 7:56pm
Print Post  
BlogTripper wrote on May 21st, 2006 at 7:54pm:
Awesome!!  Thankyou for a Most Righteous Mod!

I all of a sudden got the inspiration to make it, so enjoy.
  

Nothing to add here Smiley
Back to top
 
IP Logged
 
BlogTripper
Senior Member
****
Offline


My Son Abel love's YaBB
2.1

Posts: 347
Location: Manchester
Joined: Apr 7th, 2006
Gender: Male
Re: Embed Any Media Y2.x
Reply #3 - May 21st, 2006 at 8:09pm
Print Post  
could .mov be added to it?

is it as easy as adding

Code
Select All
	} elsif ($media_url =~ m/.mov$/ || $media_url =~ m/.mov$/i){
		$video = $embed_qt; 



to Embed_Media.pl

and would it be that easy to add other formats ... such as .mp3
  

My mind went crazy and I don't know when it's coming back.  If you happen to see my mind please ask it if it's found my marbles yet, will you?
Back to top
WWW  
IP Logged
 
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
Re: Embed Any Media Y2.x
Reply #4 - May 21st, 2006 at 8:15pm
Print Post  
I'm already working on more missing extentions, so wait about an hour for an updated pl file
  

Nothing to add here Smiley
Back to top
 
IP Logged
 
BlogTripper
Senior Member
****
Offline


My Son Abel love's YaBB
2.1

Posts: 347
Location: Manchester
Joined: Apr 7th, 2006
Gender: Male
Re: Embed Any Media Y2.x
Reply #5 - May 21st, 2006 at 8:15pm
Print Post  
excellent masterRon thanx again
  

My mind went crazy and I don't know when it's coming back.  If you happen to see my mind please ask it if it's found my marbles yet, will you?
Back to top
WWW  
IP Logged
 
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
Re: Embed Any Media Y2.x
Reply #6 - May 21st, 2006 at 8:18pm
Print Post  
BlogTripper wrote on May 21st, 2006 at 8:15pm:
excellent masterRon thanx again

Faster then lighting now .mov and .asf should also work in the correct player
  

Nothing to add here Smiley
Back to top
 
IP Logged
 
MetalJoe
Full Member
***
Offline



Posts: 156
Location: Auburn
Joined: Aug 23rd, 2004
Gender: Male
Re: Embed Any Media Y2.x
Reply #7 - May 21st, 2006 at 8:44pm
Print Post  
Easy intall, works great but will there be a ubbc button to insert media tag?
  
Back to top
 
IP Logged
 
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
Re: Embed Any Media Y2.x
Reply #8 - May 21st, 2006 at 8:54pm
Print Post  
MetalJoe wrote on May 21st, 2006 at 8:44pm:
Easy intall, works great but will there be a ubbc button to insert media tag?

Perhaps in the next version as this one was merely to test the principle of embedding mediaplayers.

If this works OK I'll start pimping it Wink
  

Nothing to add here Smiley
Back to top
 
IP Logged
 
MetalJoe
Full Member
***
Offline



Posts: 156
Location: Auburn
Joined: Aug 23rd, 2004
Gender: Male
Re: Embed Any Media Y2.x
Reply #9 - May 21st, 2006 at 9:00pm
Print Post  
Quote:
Perhaps in the next version as this one was merely to test the principle of embedding mediaplayers.

If this works OK I'll start pimping it Wink

Great, Thanks.
  
Back to top
 
IP Logged
 
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
Re: Embed Any Media Y2.x V1.2
Reply #10 - May 21st, 2006 at 10:25pm
Print Post  
Fixed multiple media files in one message not differentiating but all showing the last one.

New zip in first message.

Uninstall the old one, reinstall the new one please.
  

Nothing to add here Smiley
Back to top
 
IP Logged
 
BlogTripper
Senior Member
****
Offline


My Son Abel love's YaBB
2.1

Posts: 347
Location: Manchester
Joined: Apr 7th, 2006
Gender: Male
Re: Embed Any Media Y2.x V1.2
Reply #11 - May 22nd, 2006 at 1:46am
Print Post  
could you add the option to include a background image when playing music file
  

My mind went crazy and I don't know when it's coming back.  If you happen to see my mind please ask it if it's found my marbles yet, will you?
Back to top
WWW  
IP Logged
 
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
Re: Embed Any Media Y2.x V1.2
Reply #12 - May 22nd, 2006 at 6:18am
Print Post  
BlogTripper wrote on May 22nd, 2006 at 1:46am:
could you add the option to include a background image when playing music file

You mean in the player itsself ?

V1.3 should have no black video window in the player anymore on audio files.
Also added .mp3 support in this version.

Just upload the new Embed_Media.pl, no need to reinstall.
« Last Edit: May 22nd, 2006 at 8:12am by Spikecity »  

Nothing to add here Smiley
Back to top
 
IP Logged
 
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
Re: Embed Any Media Y2.x V1.4
Reply #13 - May 22nd, 2006 at 10:39am
Print Post  
Going fast forward as it seems.

Added in V1.4 is Macromedia Flash support (.swf) and full width control.
Just upload the new Embed_Media.pl, no need to un/reinstall.
  

Nothing to add here Smiley
Back to top
 
IP Logged
 
T3rrabug
Full Member
***
Offline


I love YaBB  2 :D

Posts: 220
Location: over_there
Joined: Aug 21st, 2004
Gender: Male
Re: Embed Any Media Y2.x V1.4
Reply #14 - May 22nd, 2006 at 11:08am
Print Post  
Cool 8) I was just about to ask for Flash support  Smiley
Couldnt it replace the Flashtag and button then ?

Im gonna put it on my list for the next board update. Thanks Ron  Smiley
  

Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 3 ... 16
Send TopicPrint