Active
Project:
jPlayer
Version:
7.x-2.0-beta1
Component:
Documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
3 Nov 2010 at 13:32 UTC
Updated:
31 Jul 2013 at 18:07 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jimajamma commentedThere is a patch in a thread called Views Oddity that might fix your issue
Jim
Comment #2
Anonymous (not verified) commentedSame to me
outside the views it works
Comment #3
zacharycaplan commented+1
patch in views oddity thread did nothing, the player doesn't display and just shows the text links.
i can force the player to display using 'Jplayer player' option for filefield display format but it still doesn't work and appears as in the attached screenshot.
if i look at the source for either of these options, the jplayer's id is blank and everything else appears to be missing a distinct id number and instance reference (progress bar id="-progress" instead of id="jplayer-20-field-songs-progress")
hope this helps shed a little more light on the issue
Comment #4
zacharycaplan commentedupdate: it appears using the display style in a view does not trigger the css/js includes for jplayer...thoughts on how to rectify this?
Comment #5
jimajamma commentedThere were multiple bugs/issues in the beta2 and earlier versions of jPlayer that make me think the views portion could never have worked. I fixed a couple of them that made the module work for me, if you look through the issue cues you can see the patches I've uploaded. If you could post a screen shot of the views screen, that might help me track it down further for you. I fat fingered a whole bunch of this there that after I figured out what was wrong, it was one of those "duh" moments. But just the fact that you are in fact getting SOME of the css in there makes me think that's one of the issues (those blue bordered things in there are defined in the css as an example)
Comment #6
DavidHadaller commentedI had this same issue as in the screenshot from #3. I made the following changes to these two files and I was good to go (changes made to 6.x-1.0-beta3).
Note: I used the 'path to file' field formatter in the view, although others should work.
**ISSUE: The variable $filepath was actually just the fileid number, but was being treated by the code as the actual path**
**SOLUTION: load the filepath**
file: jplayer_style_plugin.inc
function: jplayer_style_plugin -> render
line: 101
**ISSUE: The output of the view was being blocked by this if statement **
**SOLUTION: Comment out the if-statement. This may have other implications **
file: jplayer.theme.inc
function: template_preprocess_jplayer_view_playlist(&$vars)
line: 76
Comment #7
deviantintegral commentedI've committed the change fixing the issue with checking the wrong variable template_preprocess_jplayer_view_playlist() in 5be54f6, and am addressing the file ID issue over at #919700: Views Oddity.
Comment #9
vchen commentedIs it just me, or is this still a problem in version 7.x-2.0-beta1 with Drupal 7?
Comment #10
joshuautley commentedI'm using views in D7 and I have it as a block which works fine.