Forums / Cotonti / Development / PFS: paste as mp3

booka
#1 2010-05-09 02:41
Dear developers!

Recently I added new plugin JQPlayer, based on jplayer js/swf plugin for jquery. You can see how it works on my site http://bestfest.ru

Here is a homesite of project: http://happyworm.com

This plugin supports multiple players, so I think it would be useful. As I can understand - to add an option to PFS "add as MP3" on the page - it will require to do some core hacks, thats why I don't know how it can be done and don't like to use hacks and loose an upgrade possibility. But looks like it is possible to check for MP3 files and add them with player to the page.

May be someone interested to implement it?
booka
urlkiller
#2 2010-06-20 06:15
from my point of view this can be done simple with the bbcode editor implemented in the core system.
so why dont you just upload the needed jquery javascript files and make a new bbcode that uses the wildcards for variables and paths...

but if you are insiting on haveing a fouth button to insert as MP3 you could use hooks in the PFS system. not done so much with it yet but i guess there are some hooks in the pfs.inc file...
URL shortener: <a href="http://bbm.li/!7AD5C7">http://bbm.li/!7AD5C7</a>