Posted by vstmusic on August 29, 2009 at 5:15pm
5 followers
Jump to:
| Project: | SWF Tools |
| Version: | 6.x-2.5 |
| Component: | SWF Tools |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (duplicate) |
Issue Summary
Hi,
I have created a content type ("Audio"). In this content type, I have created a cck filefield "MP3 FILE".
In each node of this content type, I upload one MP3.
With the Views module, I want to create an audio playlist in a player in witch all the mp3 file are in ONE player.
Actually, I use the FlowPlayer audio player, And in my View configuration, I have created a MP3 FILE field, using the Swf tools - Playlist, but all mp3 of my different nodes are putting in a separate player and not in a ONE player for all.
Can you help me ?
Thanks
Comments
#1
I have this working:
Field "MP3 FILE" needs to be a File field.
Then set "Number of values" to be the maximum number of mp3s you want to add.
Go ahead and upload all the files you want to the playlist.
Then under SWF tools set the player for "Default player for a list of MP3 music files" to flowplayer.
That works fine for me.
#2
Sorry, but I does not work !
What you say is all right if several mp3's are in ONe node. Yes, in this case, I can too make an audio playlist.
But my situation is different : MP3 are in differents nodes of a content type. With the module Views, I want to create an audio playlist with all mp3.
Do you understand ?
Thanks for your help !
#3
I grabbed all nodes with views using media_browser module. I added custom script from jquery.scrollable flowplayer, so I can have a scrollable list of views as a browser and a big display of video as attachment display. Otherwise try to make media_browser.module work first. It basically overrides all regular links to the page where the player is, so you can have your real playlist.
#4
How do you make this list if all files are in the same node?
I've been struggling with this in views nwith the help of media_browser but to no avail.
A pointer in the right direction perhaps?
#5
Would you mind explaining in more detail in how you succeeded with this? I get the browser setp but my links are leading to the actual file instead of using AJAX to switch file in the player. I did set Use AJAX to yes in views...
#6
Just make sure your filefield have multiple values.
I was in the direction away from media_browser and sticked to JW API last year! since media_browser was buggy then, I have no idea about its progress now, sorry.
Currently I only take advantage of flowplayer scrollable and JW API as seen here. You can take a peep at the source code on how to use it with views. I combined videos and audios and a news node. Not really good, but works at least for a starter :)
Or you may be interested to see updates in this thread http://drupal.org/node/581778 as well.
When I have some time, I'll probably change again using JW jquery playlist which is actually much simpler and better. Try finding the jquery playlist plugin in JW site. Hope that helps.
#7
Thank you for an excellent response together with more resourcses. I will look deeper into this.
#8
Setting this as a duplicate of #581470: Playlist option in file handlers as that also registers a request for this feature. That request is currently set as postponed as I want to get SWF Tools 6.x-3.x out and this feature request is pretty complex (although the linked thread suggests a work-around).
But having got CCK running nicely with SWF Tools this is the next obvious feature and is right at the top of the "to do" list.