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.
This is a small step towards allowing the players to have configurable sizes. It basically modifies the .inc files for each player to accept another argument, $size. I also noticed that these flash players had 'format' => array('wav', 'mp3'). Since the flash players can only play mp3 files, I removed the 'wav'.
I tried some different things, but I'm not sure where on the settings page to put configurable sizes for each player.
Comment | File | Size | Author |
---|---|---|---|
players_1.patch | 8.82 KB | zirafa |
Comments
Comment #1
drewish CreditAttribution: drewish commentedI'm pretty sure they'll play wav files as well. That's just based on what flash supports... At least give it a try before you remove it.
Comment #2
drewish CreditAttribution: drewish commentedoh, my plan had been to give each player a settings form and then have a link to it from the players page... that'd be the place to set other settings like colors, etc. i haven't gotten around to doing it yet.
Comment #3
zirafa CreditAttribution: zirafa commentedHmm, I've tried it on wav files and it doesn't work for me...maybe it's something on my end then.
Comment #4
we241 CreditAttribution: we241 commentedWAV files do not play for me either.