i've found some problems with jplayer support, which i'm going to lump together in one issue because they're each quite small.

without theme override functions, it's not possible to add a skin from http://www.jplayer.org/latest/skin/ to jplayer, which isn't very useful.

the variable $base_path is added to $player_base_path before drupal_add_js() is called, which breaks on all sites that do language switching by URL prefix. drupal_add_js() doesn't need this; it should just be added later on to the swfPath parameter.

it's necessary to set the parameter solution to "flash, html" in order to support older browsers. i believe this should be set by default; people can change that by overriding the theme function if desired.

also, there were some tabs which need to be replaced with spaces: http://drupal.org/coding-standards#indenting

CommentFileSizeAuthor
#1 audiofield-jplayer-support-1845032-1.patch4.35 KBmvc
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mvc’s picture

Status: Active » Needs review
FileSize
4.35 KB
benjifisher’s picture

Status: Needs review » Reviewed & tested by the community
jenlampton’s picture

+1 for RTBC, thanks so much! :)

costinius’s picture

Hi, I've installed the latest 7.x-1.0-beta8 module and it was working with jplayer, but without a skin. So, after applying the patch it stopped working completely (yep, tried without a skin, and with a skin added). Am I doing anything wrong? Thanks a lot!

benjifisher’s picture

@costinius:

It is working for @mvc and for two of us who have tested and reviewed, so my first guess is yes, you are doing something wrong. But first guesses are not always right, and there are a lot of things that could contribute to the problem: javascript, server configuration, other modules, which browser you are using ...

Try starting with a fresh installation of Drupal and the latest version of this module from git. (See the "Version control" tab on the project page for instructions. In this case, I think that the latest version from git is the same as 7.x-1.0-beta8, but you should save us the trouble of checking that.) Is the problem reproduceable? Can you try with a few different browsers? Try checking for javascript errors.

ws.agency’s picture

Issue summary: View changes
Status: Reviewed & tested by the community » Needs work

Needs work! New bug fixes and patches added, this patch needs to merge with new code!

Daniel.Moberly’s picture

Status: Needs work » Closed (outdated)

This issue is outdated as of the integration of the jPlayer module with the 7.x version of this module