[New Plugin] Simple Flash Mp3 Player flexicontent field

More
14 years 3 months ago - 14 years 2 months ago #20294 by krapaic
Hi to all,
in order to follow a request from a friend i've implemented a new flexicontent field that allow to upload mp3 files and embed them in a simple mp3 player ( flash-mp3-player.net/ opensource). I've adapted the gallery flashmatic source code modifying where it needed and adding some other functions to render the swf object.

A FEW SCREENSHOTS

1. BACKEND
Creation of a new field of type "Simple Flash Mp3 Player". Available parameters






Field value in New Item / Edit Item


- vers. 0.2 add remote mp3 support


2. FRONT END
Simple view in default template (quick test with no skin and no gradient to fit the specific template look)

- vers. 0.2 add remote mp3 support




CSS
In order to change style edit:
plugins/flexicontent_fields/sfmp3player/css/sfmp3player.css or set your template css class parameter

Skin
To add background skin place images (gif/jpg and i've not tried with png) into dir:
plugins/flexicontent_fields/sfmp3player/images

Configuration / Help
Detail about the simple_mp3_player.swf in
plugins/flexicontent_fields/sfmp3player/config/help.htm. In the same folder you'll find an example of configuration.xml|txt and playlist.txt|xml (not implemented)

Languages:
English
Italian
French (thanks to micker)
German (thanks to Rehne)

Limitation:
- no playlist xml support (the swf player does) and i choose not to implement it because like the filefield plugin you can add any number of files at once
Bug
- It's a minor problem but the fileselement windows popup (Back-end) doesn't underline and strikes files already assigned to items. I would need to modify the original flexicontent "view.html.php" because there's an array of array js who's not supported in the original script (first level only).

Note
I still need to work the code to clean it and i'm not familiar with Subversion so i attach here the file. I take a lot of codes from this site, sharing even if it's a simple plugin it was the least I could do.
If anyone wants to download and test it, i will really appreciate feedbacks or bug reports.

Tested on
Joomla 1.5.24
FLEXIcontent version 1.5.6 beta2 (r948)
Apache 2.2.17 php 5.3.5

Project homepage
code.google.com/p/plg-flexicontent-fields-sfmp3player/

NEW SUBVERSION 0.3
Add
  • german translation
  • show playlist parameters to hide/show playlist (controlbar only or controlbar + playlist
Fix
  • javascript qfSelectFile fixed for adding remote mp3
  • popup filemanager now filter only mp3 extension

Thank you
Regards.
Last edit: 14 years 2 months ago by krapaic.

Please Log in or Create an account to join the conversation.

More
14 years 3 months ago #20304 by micker
great impressive works !

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
14 years 3 months ago #20305 by micker
i will do a french traduction
thanks

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
14 years 3 months ago #20307 by krapaic
Fantastic,
thanx a lot micker :)

I've update the post and attached version 0.2, now it support remote mp3 and french translation




If remote Mp3 has a value (and is a valid http url) it has priority over local file.
Just clean the input text if you want to use local.

Please Log in or Create an account to join the conversation.

More
14 years 3 months ago #20314 by Rehne
great work ... thanks

i made a german translation

Regards

Please Log in or Create an account to join the conversation.

More
14 years 3 months ago #20317 by krapaic
Thank you a lot Rehne :)

First post updated and put a copy of the zip file on google code:
code.google.com/p/plg-flexicontent-fields-sfmp3player/

New subversion 0.3
ADD:
  • german translation
  • show playlist parameters to hide/show only the list of mp3

FIX:
  • javascript qfSelectFile fixed for adding remote mp3
  • popup filemanager now filter only mp3 extension

Please Log in or Create an account to join the conversation.

More
14 years 2 months ago #20585 by krapaic
Tiny update to fix an error on admin backend (autoplay doesn't have to work on backend, i forgot). Updated the first post with v.0.4

Just a question for flexi developer, if i want to make it compatible to Flexi V2 and joomla 1.6 what tricks i need to use (i use global frameworks and all the usual stuff but i need to change something to let i work with V2?)

Please Log in or Create an account to join the conversation.

More
14 years 1 month ago #21631 by micker
hello
for me it doesn't work if i load mp3 player in backend all script or out ....

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
14 years 1 month ago #21720 by shalb54
Hello,

before anything else, I want to thank you for this plugin, I really appreciate it.

Though, using this plugin, I came up with some errors:

1. When I try to choose a local file to insert, this seems to work, but in the frontend the mp3 file won`t play. I then copied the generated link (local file)into the field remote file, where it showed up as a link to the whole absolute path (http://www....). This works but I think this wasn`t meant this way.
2. In the file-path (lokal or remote) there is missing one last closing slash before my filename, what also causes the mp3 not to play. But I was able to put the slash in manually. Works this way.
3. When I activate to show up the question mark in the player bar view it won`t show the filename, but only "00:00:00 inconnu"

Though all this does not cause, that I couldn`t use the plugin, I thought you would like to know about these issues.

Thank you again.

Please Log in or Create an account to join the conversation.

More
14 years 4 days ago #22562 by kath
Thank you for the plugin! I have a small problem though, likely the same as shalb54 mentioned before: my mp3 plays in BE, but not in FE.

Details:
- installed plugin -> ok
- created field of type ~'mp3' -> ok
- connected field to type ~'audio' -> ok
- created audio-item, uploaded mp3 file ->
- - tested with both media and secure; paths are ok
- listened to mp3 file via BE > item > your player -> ok
- pressed playbutton in FE -> silence
- flash var in FE-DOM: 'showlist=1&mp3=components/com_flexicontent/medias/440hz-5sec.mp3&title=Track+cv4Oze&showinfo=0&showvolume=1&volume=75&volumewidth=40&volumeheight=8&autoplay=0&loop=&shuffle=&showloading=autohide&loadingcolor=494845&showplaylistnumbers=&playlistcolor=66645C&playlistalpha=30&showslider=0&sliderwidth=20&sliderheight=6&slidercolor1=8F8E8B&slidercolor2=6C6A63&sliderovercolor=AFC400&bgcolor=FFFFFF&bgcolor1=444444&bgcolor2=000000&textcolor=66645C&currentmp3color=AFC400&buttonwidth=20&buttoncolor=8F8E8B&buttonovercolor=AFC400&scrollbarcolor=585857'

what can i do to fix this?

thanks for your advice and your work!
kath

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save