Hi! I thanks for this module, I have tried to create a mp3 player list with views but it doesn´t work.

I think there must be a line like:

 <div id="jplayer-7-field-mp3-0" class="jplayer" rel="http://www2.gruposmadrid.com/sites/default/files/music/file.mp3"></div>

but in the views the rel="" field is missing.

Thanks!

Comments

quicksketch’s picture

Category: bug » support

If you're using Views, the rel tag is empty (it's only used for a single player, not the multiple file playlist). To set up a view:

- Add a file field *relationship* for the files you want to pull in.
- Add a "File: Path" field.
- Change your display style to jPlayer and select the "File: Path" field you've added.
- Add any other fields you'd like to be used as the label.

Saeh’s picture

this works, but how do I remove the path now out of the fields? ie im getting sites/default/files/example.mp3 as the field, instead of just example

quicksketch’s picture

this works, but how do I remove the path now out of the fields?

Edit the field and check the box for "Exclude from display".

Saeh’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.