[Plugin: MP3-jPlayer] Anybody up for updating this to use jplayer 2.1?
-
at this plugin’s core, jplayer has been updated. id i don’t hear from simon, is there anybody that’d be interested in helping me update this plugin to use the latest jplayer scripts?
-
add_mp3j is a function i just made up and defined on the spot. this is how you merge the function exists check w/ what i already wrote.
function add_m3j(){ if ( function_exists('mp3j_addscripts') ) { mp3j_addscripts(); } } add_action('wp_head','add_m3j');
a couple of tutorials i wrote for PHP beginners:
https://www.kathyisawesome.com/446/absolute-php-basics-for-wordpress-newbs/ read the “Function Function What’s Your Function” sectionhttps://www.kathyisawesome.com/412/thematic-hooks-and-functions/
read the “How To Add Any Function to any Hook” sectionbut perhaps you should consider hiring someone. you’d probably save a ton of time. at this point i don’t even really know what you are asking for help with, nor am i an expert in this plugin… so i unfortunately do not have the time or ability to help you through whatever problem you are having.
I appreciate your message. As this is going to be a long reply, I did not want to rush things up…
I got in touch with Simon about three weeks ago — I did ask for a quote, and I also kindly advised him to come up with a paid version of his plugin, and/or a paid dedicated support/member section on his site. I also offered to help with graphics AND membership plugin. So far, it’s the only WordPress jPlayer plugin out there — he’s got the edge — he could make money…
Simon asked me for a link to my website — then I never heard from him again — go figure… no hard feelings — Say la V.
As it stands, I really don’t know if I am going to use his plugin on my next project — as a developer pointed out to me last week; the plugin hasn’t been updated in a year.
The developer suggested the MediaElement.js by John Dyer.
I prefer Simon’s take, as it is more compact.I always donate, I have donated to various developers who are still maintaining their products and to those who support them actively (I could give you names…), including a member here called “alchymyth/the sweeper” who answered a question with no fuss a while ago.
I also told Simon what I will donate to him IF I end up using his plugin, at the moment, I am still testing + I am uncertain of it’s future…
About hiring a developer — as you suggested? Definitely NOT for the question I asked.
And to answer your “question”, I DO NOT have a problem per se with this plugin.
All I asked is if one of you could make sense of what is mentioned in the documentation, in regards to if function_exists. Period.
As it stands, I still have no definite answers, and what you suggested still doesn’t add the code to the wp_head! But, I appreciate what you said, and that it is a good way of adding the code the wp_head. So far, I had to “physically” add it manually to the header. Yes would love to know how to do it your way… otherwise — no worries, and while I can still leave without it, and I didn’t know that this was possible, I am still intrigued!
In case you are able to answer a simple question, I would appreciate it, otherwise, again — no worries; You said that you created the function add_m3j() as an example…, and it did not exist, so, is this how functions are added in general, i.e; you make them up, or is the function supposed to exist somewhere in the plugin for it to work? If the later, it explains why your code did not work. I Googled it but cannot find the answer I am looking for.
I have visited your website, and I like it, thank you for the links.
I would totally pay for this plugin. Its brilliant and obviously has a powerful bit of scripting at its core. However, its lack of updating is probably the cause to why it currently doesn’t work on mobile devices. Well the ones I’ve tried.
Shame cos I don’t wanna just chuck it, cos it works perfectly everywhere else.
@rawdolphe – I just tested my code and it works. The
mp3j_addscripts
function is added to the header, but only in themes that callwp_head();
, which should be any remotely modern theme. However, themp3j_addscripts
function only adds an action hook to the header… meaning that it doesn’t automatically add anything to the header itself… this seems to depend on which style you’ve chosen, but I can’t test it further right now. At any rate, this is clearly an example of the code being outdated b/c wp_head is a perfectly fine action hook to use in the first place.I applaud your support of the WordPress open-source community. I only suggested you consider hiring help because you don’t seem to have a strong grasp on what functions are and how to write them… I didn’t mean to offend. To answer one of your questions: anytime you put function in front of a function name you are defining a function.
function some_function(){ echo 'some function here'; //function definition can be whatever }
This is basic PHP that I covered on my site that I linked you to. Then within the WordPress framework, you can add functions to action hooks… which is the gist of the other tutorial I wrote.
@udapud – I agree. The potential for a premium plugin is definitely there.
Thank you for the extra info, and of course you are right, php is not my best friend ??
I finally had a chance to check your tutorials and it’s very well explained, only thing — I’d use flowers instead of bacon ?? Or you could have use Kevin Bacon as an example!
I am nearly 100% vegetarian.As you said, the code is outdated, I am not sure about Simon’s plans.
What does Simon Say? Remember that game? lolOnce again, I suggested to Simon a membership section/tab on his website, charging something like £10+ per member… offering updates and some support.
I think he doesn’t like money and/or he feels rich already ?? or maybe he is retired now and he enjoys fishing or stamp collecting… ! who knows?
Back on topic, what you said about your code, most likely it is theme dependants, I have tried a bunch and some don’t need anything added.
@rawdolphe – LOL. Not Kevin Bacon!! Yes, I know there are plenty of people in the world who do not eat meat. But I’ve been using ‘bacon’ as my favorite code demo for a while now, what can I say…. I like it! To each his/her own.
Last I heard from Simon, he has not abandoned the project, but well.. as we can see it hasn’t seen any updates lately. I guess we are all left to draw our own conclusions (I like you stamp collecting conclusion). I think it is pretty clear there is a space in the market for a good premium audio plugin. I should look into it, but I think it might be just a touch out of my comfort zone.
I’ll say it again then — stamp collecting it is. ??
I could do some skins…, but the css is a “biatch” I heard (that’s not a rude word — it’s not even in the dictionary)!
Did I tell you that have home made soup for breakfast?
- The topic ‘[Plugin: MP3-jPlayer] Anybody up for updating this to use jplayer 2.1?’ is closed to new replies.