Took me some hours to get it finally working with D7:
Views & jPlayer

CommentFileSizeAuthor
#4 jp1.png82.43 KBb.one
#4 jp2.png83.11 KBb.one
#4 jp3.png76.38 KBb.one
#4 jp2.png86.72 KBb.one
#3 Image1.png54.93 KBb.one
views+jplayer.png89.43 KBdrupal a11y
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dawehner’s picture

Project: Views (for Drupal 7) » jPlayer
Version: 7.x-3.x-dev » 7.x-2.x-dev

Let's move this to jplayer issue queue, because it makes much more sense there.

drupal a11y’s picture

Category: feature » task

O.K.

b.one’s picture

FileSize
54.93 KB

How do you manage to display a title for your mp3 ?
I cant get anything else than the basic mp3 name...

b.one’s picture

FileSize
86.72 KB
76.38 KB
83.11 KB
82.43 KB

Hi!

I began to edit mp3 as you show in the following thread : http://drupal.org/node/1338874 to add a title and a description, but it did'nt work.

then I found that in CCK, for the field wich will contain the mp3 field, check the "Enable description field" box solve the problem!

ibuildit’s picture

Awesome bro! I´m going to try this right now!

Have you managed to get this to work with nodequeue? I´m on the case of building user-generated playlists... I believe nodequeue or flag will make it happen. Anyone with experience on this?

Then I need to make this work as continous play across pages... now that will be a bitch... :P

zorax’s picture

thank's a lot !
it works !

Steve Thompson’s picture

Hi,

I'm a newbie to Drupal and would really like to get a jPlayer playlist working in Drupal 7. I know I've seen something similar to this article somewhere giving step by step instructions along with the images on now to set up the view and the content types etc. but I can't find it now. I think these images have jumped a few step in what is required to get jPlayer working. I have set up a content type with a file type field whose display is set to jPlayer and got it working for a single file. With views I have managed to get it working as an unordered list but when I set it to the jPlayer viewer it displays the playlist but clicking on the track result in the track being played out of jPlayer. I've looked everywhere so please can anyone either point me to a more detailed article or possibly please help me with a step by step guide to get this working.

kjv1611’s picture

Maybe someone else can get me pointed in the right direction. How can I get the File attributes such as path to show up as field options? I can't seem to get them to show up in the views at all....

I'll keep trying, though, but if anyone reads this and can give me a hint, I'd greatly appreciate it.

kjv1611’s picture

I did install the Filefield Paths module:
http://drupal.org/project/filefield_paths

And do see something about the file paths in the content types, but I don't find any options in the view setup..

ghosts’s picture

Look at the right side of the Views image above. In the Advanced settings there is a Relationship "File Usage: File". Add that and you should be able to access the path.

kjv1611’s picture

Thanks!! I'll take a look and see! I'll post back! Sorry - I didn't even think to that portion and should have studied the images carefully.

kjv1611’s picture

Wow. Either I'm just incredibly dense right now, or something amiss somewhere. Still not getting it to work.. argh!

Will keep trying.

kjv1611’s picture

Alright, looks like I have a Token issue??

Tokens Problems detected
The following token types are not defined but have tokens:

$info['types']['file']

kjv1611’s picture

And I've seen this error at least twice, maybe 3 times:

Notice: Undefined index: types in token_get_token_problems() (line 292 of /home/webhostacct/public_html/MySiteFolder/sites/all/modules/token/token.install).
Warning: Invalid argument supplied for foreach() in token_get_token_problems() (line 292 of /home/webhostacct/public_html/MySiteFolder/sites/all/modules/token/token.install).

And now on the edit page of one of the pieces of content I'm trying to use, I get these errors:

Warning: file_get_contents(sites/all/themes/acquia_marina/js/jquery.corner.js) [function.file-get-contents]: failed to open stream: No such file or directory in drupal_build_js_cache() (line 4940 of ../includes/common.inc).
Warning: file_get_contents(sites/all/themes/acquia_marina/js/acquia-marina-script.js) [function.file-get-contents]: failed to open stream: No such file or directory in drupal_build_js_cache() (line 4940 of ../includes/common.inc).
Notice: Undefined index: localized_options in menu_navigation_links() (line 1861 of ..//includes/menu.inc).
Notice: Undefined index: localized_options in menu_navigation_links() (line 1861 of ..//includes/menu.inc).

BDaggerhart’s picture

Thank you so much for this. I wish I had looked through the issues for this before spending hours trying to get this damned thing working!

hazem.tamimi’s picture

Many thanks for the implementation above.

stugacz’s picture

Issue summary: View changes

I am stuck and cannot go beyond this error message:
"The jPlayer display style requires being configured so that at least one field is selected to provide a file path."

I am unable to reproduce a view like the example shown. Has anyone constructed a step by step tutorial on how to do this?