[BETA] jcfplayer: mp3 Flash player

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
MaddoxX
Registered User
Posts: 450
Joined: Sat May 15, 2004 4:43 pm
Location: Russia

Post by MaddoxX » Fri May 19, 2006 11:30 pm

cud we get the .fla so we can modify it ourselves to match templates.
:D

User avatar
hao25
Registered User
Posts: 78
Joined: Fri Apr 14, 2006 4:10 am
Location: Malaysia : JB
Contact:

Post by hao25 » Wed Jun 07, 2006 1:20 pm

If I am linking another mp3 from another site using the flash player, it wouldn't be considered audio streaming on my site, right? I am a little bit worried as my host doesn't allow audio streaming. :roll:

shotgun000
Registered User
Posts: 116
Joined: Sun Feb 05, 2006 1:57 am

Post by shotgun000 » Sat Jun 17, 2006 11:22 pm

^Andy^ wrote:
shotgun000 wrote:Excellent mod, works great! 8)

My only suggestion would be to add some buttons to the standard bb codes, so that a simple mouse click will insert the mp3 tags.


Easy enough (backup the files first in case I missed anything out or it doesnt work on your set up)...

Open forum root privmsg.php

Find..

Code: Select all

'L_BBCODE_F_HELP' => $lang['bbcode_f_help'],
After Add..

Code: Select all

'L_BBCODE_M_HELP' => $lang['bbcode_m_help'],
Open forum root posting.php

Find..

Code: Select all

'L_BBCODE_F_HELP' => $lang['bbcode_f_help'],
After Add..

Code: Select all

'L_BBCODE_M_HELP' => $lang['bbcode_m_help'],
Open Language Lang_main.php

Find..

Code: Select all

$lang['bbcode_f_help'] = 'Font size: [size=x-small]small text[/size]';
After Add..

Code: Select all

$lang['bbcode_m_help'] = 'Insert mp3: [mp3]http://mp3_url[/mp3]  (alt+m)';
Open Templates Posting_body.tpl

Find...

Code: Select all

f_help = "{L_BBCODE_F_HELP}";
After Add..

Code: Select all

m_help = "{L_BBCODE_M_HELP}";
Find...

Code: Select all

bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[code]','
','
  • ','
','
  • ','
','[img]','[/img]','','');[/code]
Change to...

Code: Select all

bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[code]','
','
  • ','
','
  • ','
','[img]','[/img]','','','[mp3]','[/mp3]');[/code]

Find...

Code: Select all

<td><span class="genmed"><input type="button" class="button" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onClick="bbstyle(16)" onMouseOver="helpline('w')" /></span></td>
After Add..

Code: Select all

<td><span class="genmed"><input type="button" class="button" accesskey="m" name="addbbcode18" value="MP3" style="width: 40px"  onClick="bbstyle(18)" onMouseOver="helpline('m')" /></span></td>
Find... (multiple results so change them all within this file)

Code: Select all

<td colspan="9"> 
Replace with...

Code: Select all

<td colspan="10"> 
Find... (multiple results so change them all within this file)

Code: Select all

<table width="450"
Replace with...

Code: Select all

<table width="500"



Thanks! works perfect :D

User avatar
hao25
Registered User
Posts: 78
Joined: Fri Apr 14, 2006 4:10 am
Location: Malaysia : JB
Contact:

Post by hao25 » Sun Jun 18, 2006 7:03 am

Erm.. Are you able to make it work inside the signature area? When I try it, it doesn't seem to work.
No matter what you say, no matter what you do, please backup before you modify anything...
a pro at something? --> help out now at | Help Me Out | !!!
I go by the username ExarKun in many other forums. If you happen to see me, remember to drop me a pm saying hi.

bassmike
Registered User
Posts: 1
Joined: Fri Jul 14, 2006 12:44 pm

mp3 quality

Post by bassmike » Fri Jul 14, 2006 10:22 pm

Great mod, just what I was looking for simple and easy to install. Do you have the specs for the mp3 quality. Experimenting I had to go all the way up to 192 kps to get the file to play correctly. I would like to be able to keep the files smaller if possible.

simps0n
Registered User
Posts: 1
Joined: Fri Jul 21, 2006 12:51 pm

Post by simps0n » Fri Jul 21, 2006 8:20 pm

Can you post the .fla file please? :)
So I can edit it to fit in my template?

(I will leave the Copyright alone, and I will prove it)

^Andy^
Registered User
Posts: 28
Joined: Tue Oct 19, 2004 6:29 am

Post by ^Andy^ » Wed Aug 30, 2006 10:08 pm

Anybody know a way to modify this mod to work around the IE6 'Click to activate' active x control security crap?

MaddoxX
Registered User
Posts: 450
Joined: Sat May 15, 2004 4:43 pm
Location: Russia

Post by MaddoxX » Tue Oct 10, 2006 2:29 pm

author wud have to post his .fla file
:D

esef
Registered User
Posts: 102
Joined: Fri Dec 17, 2004 7:40 pm
Contact:

Post by esef » Thu Oct 12, 2006 7:30 am

this is DOPE!! deff going to add this to my site.

thanks for sharing!

Image

esef
Registered User
Posts: 102
Joined: Fri Dec 17, 2004 7:40 pm
Contact:

Post by esef » Thu Oct 12, 2006 8:20 am

attn MOD AUTHOR:

1st, great mod, thanks again for sharing it.

2nd, i went and combined this mod w/ parts of the Embed YouTube mod making it so you can now have an [MP3] button along the header row of the posting box.

Image

drop me a PM if you'd like to know what i did so it can be included w/ your code for the masses.

Image

Popopzeduck
Registered User
Posts: 1
Joined: Fri Dec 01, 2006 9:27 am

Post by Popopzeduck » Sun Dec 03, 2006 11:31 pm

^Andy^ wrote:
shotgun000 wrote:Excellent mod, works great! 8)

My only suggestion would be to add some buttons to the standard bb codes, so that a simple mouse click will insert the mp3 tags.


Easy enough (backup the files first in case I missed anything out or it doesnt work on your set up)...

Open forum root privmsg.php

Find..

Code: Select all

'L_BBCODE_F_HELP' => $lang['bbcode_f_help'],
After Add..

Code: Select all

'L_BBCODE_M_HELP' => $lang['bbcode_m_help'],
Open forum root posting.php

Find..

Code: Select all

'L_BBCODE_F_HELP' => $lang['bbcode_f_help'],
After Add..

Code: Select all

'L_BBCODE_M_HELP' => $lang['bbcode_m_help'],
Open Language Lang_main.php

Find..

Code: Select all

$lang['bbcode_f_help'] = 'Font size: [size=x-small]small text[/size]';
After Add..

Code: Select all

$lang['bbcode_m_help'] = 'Insert mp3: [mp3]http://mp3_url[/mp3]  (alt+m)';
Open Templates Posting_body.tpl

Find...

Code: Select all

f_help = "{L_BBCODE_F_HELP}";
After Add..

Code: Select all

m_help = "{L_BBCODE_M_HELP}";
Find...

Code: Select all

bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[code]','
','
  • ','
','
  • ','
','[img]','[/img]','','');[/code]
Change to...

Code: Select all

bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[code]','
','
  • ','
','
  • ','
','[img]','[/img]','','','[mp3]','[/mp3]');[/code]

Find...

Code: Select all

<td><span class="genmed"><input type="button" class="button" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onClick="bbstyle(16)" onMouseOver="helpline('w')" /></span></td>
After Add..

Code: Select all

<td><span class="genmed"><input type="button" class="button" accesskey="m" name="addbbcode18" value="MP3" style="width: 40px"  onClick="bbstyle(18)" onMouseOver="helpline('m')" /></span></td>
Find... (multiple results so change them all within this file)

Code: Select all

<td colspan="9"> 
Replace with...

Code: Select all

<td colspan="10"> 
Find... (multiple results so change them all within this file)

Code: Select all

<table width="450"
Replace with...

Code: Select all

<table width="500"

I tried to do this, but I have the YouTube MOD too, and now my MP3 button says "YouTube", and my YouTube button says "MP3" :?

Does somebody know what I must do :?:

jacqn
Registered User
Posts: 3
Joined: Tue Oct 03, 2006 9:09 am

Post by jacqn » Sat Jan 13, 2007 10:16 am

hello
i put the mp3 mod in my blogmod
the player appears, but reads the mp3 file 100x to fast !
any idea of why ?
thanks
jacqn

jcfrog
Registered User
Posts: 9
Joined: Fri Mar 17, 2006 4:39 pm

Post by jcfrog » Sat Jan 13, 2007 10:57 am

Hi everyone!

I have been absent for a while and I’m very happily surprised to see this thread is still alive!
Thank you for your comments, thanks for some of your private messages, and I am here to tell you I have changed my mind about sharing the code! ;)

Actually I wanted to work on this a bit but in the end I had no time for it so I decide to share this with you and if you want, make it grow!

Please inform us if any interesting modifications! :)

I have put the FLA here: http://choain.fr/jcfplayer/src/jcfplayer.fla

And if you want you have a very simple way to thank me, just click on this link: www.laberation.fr , it will make my cluster map grow and I will see you on the world map!!! Completely useless, but that will please me! ;)

A bientot!

Your devoted jcfrog

jcfrog
Registered User
Posts: 9
Joined: Fri Mar 17, 2006 4:39 pm

Post by jcfrog » Sat Jan 13, 2007 10:59 am

jacqn wrote: hello
i put the mp3 mod in my blogmod
the player appears, but reads the mp3 file 100x to fast !
any idea of why ?
thanks
jacqn


it seems the Flash play function have this problem with some MP3 format.
i'm affraid you will have to reencode your MP3 with different parameters...

jacqn
Registered User
Posts: 3
Joined: Tue Oct 03, 2006 9:09 am

Post by jacqn » Sun Jan 14, 2007 9:45 am

indeed he is not 'Itunes' Frendly ! :lol:
but it worked with another softweare
thanks
by the way, i am looking for a free hosting for mp3 files, like youtube for videos, to share it on blogs
any idea ?
thanks
jacq

Post Reply

Return to “[2.0.x] MODs in Development”