video and audio types are inverted what breaks the player.
Moreover $raw_files often already contains the type key.
Functionally this looks fine, but there are some code style / spacing issues to be cleaned up.
it is not an issue, I encapsulated a block in a if statement thus I generated the commit with diff -w in order to make the change readable.1 files changed, 13 insertions(+), 11 deletions(-)1 files changed, 4 insertions(+), 2 deletions(-)
1 files changed, 13 insertions(+), 11 deletions(-)
1 files changed, 4 insertions(+), 2 deletions(-)
Attached a cleaned up version of #1.
Hold the phone, looks like this has already been fixed in #1192826: Undefined variable: player_type in jplayer_sort_files() in the within the patch in #19. Gah.
Since that patch is still at needs review, I committed this in dafadd3.
Automatically closed -- issue fixed for 2 weeks with no activity.
Drupal is a registered trademark of Dries Buytaert.