WP-Filebase Pro › Forums › Templates › Template using the mediaelement.js for mp3? › Reply To: Template using the mediaelement.js for mp3?
Tried to incorporate accordions with the mediaelement.js mp3 player, with the help of a shortcode plugin called: “WordPress Twitter Bootstrap Plugin”.
I created a template like this:
[TBS_COLLAPSE accordion='y'][TBS_COLLAPSE_GROUP title="%file_display_name%" open='n'][audio mp3="%file_url%"][/TBS_COLLAPSE_GROUP]
And from what I can see, then it works, but it seems that the mediaplayer.js is loading in the background on every entry and making the page somewhat slow to load, because I have allot of files on that page. If I try without the accordion, and just with the mp3 player in a table for each file, then it is slow as well, can’t really see a difference there. If I make a separate description page with only one player, then it would load fast of course, but with accordions it could really be eye-candy to have all on one page.
I would have to learn some more about how to prefetch the player, maybe load it in the footer or in a popup. I like the idea of having the mediaplayer in the “footer”, so that the users can look around on the site while listening to the mediafile.
Did you ever hear about “WordPress Twitter Bootstrap Plugin” and if there are any conflicts with it?
Did you think about integrating the WP3.6 core mediaplayer into your plugin? – if so, did you contemplate on using the mediaplayer in the footer or at the bottom of the page, or using accordions?
Also found a page with some jquery components – which maybe could be of some use for you. Don’t know if the page is any good, but I include it anyway.
I think that the media-section of your plugin could bring your plugin to a broader audience, if you made use of the mediaelement.js integration. I know it’s only for WP3.6 and many are still using the older versions, but you could make it so that those with WP3.6 could make better use of it and for their multimedia needs. When your finished with ironing the last bugs out of your plugin, then you maybe could give it some thoughts? I also wish to learn something here 🙂
Thank you for your time and for your plugin.