Closed (fixed)
Project:
jPlayer
Version:
7.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Sep 2012 at 17:40 UTC
Updated:
1 Mar 2016 at 00:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
drwits commentedfound a fix here http://drupal.org/node/1289016#comment-5580530
but this should really be fixed... seems like a big issue.
thanks again.
Comment #2
Jorrit commentedShouldn't
jplayer.tpl.phpcontain<div class="jp-type-<?php print $mode; ?>">instead of just<div class="jp-type-playlist">. Visually, this seems to work, but the audio file doesn't play anymore when I click the play button.Comment #3
davidwbarratt commentedThe attached patch fixes the class with jorritt's suggestion above, and also fixes the play button issue in jplayer.js when the class is changed to "jp-type-single".
Please test the patch and see if it works for you.
thanks!
david
Comment #4
pandapowder commentedI just ran across this same thing and I was extremely surprised to see that it was hard coded in the template. Verified that the patch worked.
Comment #5
vchen commentedManually applied patch and the single class is working along with play button.
However, when using patch command with SVN, this happened:
patch < single_mode-1780386-3.patch
can't find file to patch at input line 5
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/theme/jplayer.js b/theme/jplayer.js
|index cf93b37..c086df1 100644
|--- a/theme/jplayer.js
|+++ b/theme/jplayer.js
--------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 18
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/theme/jplayer.tpl.php b/theme/jplayer.tpl.php
|index 420e4d1..80f543e 100644
|--- a/theme/jplayer.tpl.php
|+++ b/theme/jplayer.tpl.php
--------------------------
File to patch: y
y: No such file or directory
Skip this patch? [y] y
Skipping patch.
1 out of 1 hunk ignored
Not sure if I should have used -pnumber. but I did try -p0 and it had the same result.
Comment #6
kylesmith commentedI also had trouble applying davidwbarratt's patch from #3, so I re-created it. This patch is working with the current 2.x-dev code.
Comment #7
kvnm commentedWas just about to submit the patch in #6 -- works great.
Comment #9
markie commentedApplied patch #6 plus added a change in the info section.