I've created a playlist with jplayer but it only shows the first song of my playlist.

I've created a node with a file field that can upload unlimited audio files. I've set the extension to mp3 only. In the manage fields section of the content type I've set it to playlist as well as in my view.

Why isn't the playlist showing but only the first song?

Comments

vm’s picture

Priority: Major » Normal

:edited:

removed similar reports from this comment as they were from the same user who created this issue.

vm’s picture

Status: Active » Closed (cannot reproduce)

playlists seems to work fine, see http://mikehampson.ca/originals

From the README.txt

2. Playlist

For use on a multi-value file field. Each file uploaded will be added to a
playlist. Which users will be able to navigation between. If you upload a
video file then the player will convert to a video player automatically. If
audio files are also present then a blank video frame will be displayed.

You can also select your repeat option. If set to 'All' then the player will
play all files within the playlist one after the other, once it reaches the
end it will start again at the beginning. If set to 'Single' then it will
repeat a single file within the playlist until the user chooses to play
another file.

Have you set up more than one field on the node? ie: a multi-value file field as instructed by the README.txt?

vm’s picture

Status: Closed (cannot reproduce) » Fixed

marking as fixed

evanzyl’s picture

Status: Fixed » Active

I've created a file field with unlimited number of values. I can see the 2 songs that I've uploaded but when I click on the songs to play it, it brings up a pop up and ask if I want to save the file or play it in windows media player.

infines’s picture

Is it possible to create a playlist out of a view, based off of nodes without unlimited upload values?

vm’s picture

@#4 windows media player? what kind of file was uploaded? jplayer only works with mp3s per the project page.

@#5 no idea never tried, but that deserves a separate issue.

MakubeX’s picture

Status: Postponed (maintainer needs more info) » Active

I'm having the same problem as post #4. I created a content type which has a file field with unlimited number of values. The mp3 files show in the playlist but clicking the player's play button (or any other button) does nothing. If I click the file in the playlist all I get is the option to download the file (using Firefox). If I use Chrome, instead of trying to download the file when I click on it in the playlist, it goes into a new screen and plays the audio file in what it seems to be a browser integrated full screen media player. Either way it's not working as it's suppose to.

PS. I'm using Drupal 7.7

Any suggestions?

vm’s picture

Status: Active » Postponed (maintainer needs more info)

@#7 which version of the jplayer library is installed? 1.2.0 or 2.0.0 and which verison of this module is in use, 6.x or 7.x?

MakubeX’s picture

Status: Active » Postponed (maintainer needs more info)

jsplayer 2.0 and version 7.x-2.x-dev of the module.

I'm on Drupal 7.7

I just went into Reports and got this error at the top: Undefined offset: 1 in jplayer_get_version() (line 287 of ....\sites\all\modules\jplayer\jplayer.module).

Maybe it has something to do with it?

vm’s picture

is js aggregation enabled? if so see #1133214: "Aggregate JavaScript files" in Performance breaks jPlayer and remark this as fixed.

with reference to : Undefined offset: 1 in jplayer_get_version() (line 287 of ....\sites\all\modules\jplayer\jplayer.module) I can't reproduce this but did find with a search #1186992: Notice in jplayer_get_version()

please search the queue before filing new reports or taking reports onto currently existing issues. Thanks.

MakubeX’s picture

I did search, that's how I found this thread, which is about the same problem I have and it's still unresolved, which is why I decided to join in. I don't have js aggregation enabled and I patched the file but it still won't work. And yes, I still get the "Undefined offset: 1 in jplayer_get_version() (line 292 of ...sites\all\modules\jplayer\jplayer.module)." error when I go into Reports>Status even with the jsplayer.module patched.

Funny thing, I have another Drupal installation (this one is 7.2) just for testing purposes so I have it with a bunch of modules installed and the jsplayer playlist works fine in that one. I don't know if it's because of the Drupal version (7.2 vs 7.7) or because of one of the many modules installed. I'm going to try out some of the same modules on the 7.7 version and see if it helps.

*Solved it, at least my problem. It was so stupid, lol. I I had the library folder named jsplayer instead of jplayer.*

vm’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

closing

Nimo’s picture

@gridbits - @#5: Did you figured out whether it was possible with playlist without unlimited upload field?