Closed (fixed)
Project:
jPlayer
Version:
6.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 May 2010 at 16:52 UTC
Updated:
24 May 2010 at 11:00 UTC
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
Comment #1
quicksketchIf 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.
Comment #2
Saeh commentedthis 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
Comment #3
quicksketchEdit the field and check the box for "Exclude from display".
Comment #4
Saeh commented