Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In D6 an audiofile field with two files loaded showed two instances of jplayer - which is fine.
In D7 I only see one jplayer on the page, and no indication that the other file exists. The field is set up as Single.
Examining the field properties for jplayer shows (Single, No, HTML5, No, 80%, No, None, 0). Running on Windows 7 x64 using Firefox 5.
Comment | File | Size | Author |
---|---|---|---|
#2 | multiple-players-1221010-2.patch | 1.35 KB | old_toby |
#1 | multiple-players-1221010-1.patch | 6.9 KB | old_toby |
Comments
Comment #1
old_toby CreditAttribution: old_toby commentedI added a new display mode "multiple" to show more than one single player.
This is my first drupal patch ever. It works, though I'm not sure if it's really done the way it should be.
Comment #2
old_toby CreditAttribution: old_toby commentedOk, the above patch is crap, I have to admit.
This one is much better, simpler and makes much more sense ;-)
Comment #3
bisonbleu CreditAttribution: bisonbleu commentedThanks @old_toby, ran into the same issue. Your patch in #2 is a good fix for showing a player for each file.
But it get a few errors/warnings in the process:
Comment #4
bisonbleu CreditAttribution: bisonbleu commentedSetting back to needs work.