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.
Hello,
A feature that would make me cry would be to have different audio files for the preview and the actual download. Meaning that the preview is in .mp3 and the download could be in any format choosen for various reasons might it be higher quality or like in my case the end users can not use .mp3s, only wavs. This would allow for the option to always have the nifty flash preview regardless of the file that can be downloaded.
Cheers and thanks so far for a great module, would help out if I actually had a clue beyond writing if(jensknowscode==false)
Jens
Comment | File | Size | Author |
---|---|---|---|
#5 | audio_preview.zip | 5.52 KB | sun |
Comments
Comment #1
sunAFAIK, smk-ka has ready code supporting this.
But I've to mark this as dupe since there is already an issue requesting this feature.
Comment #2
drewish CreditAttribution: drewish commentedsun, if you going to mark something as a duplicate (which i think this is) you need to post a link to the issue
Comment #3
sunFinally found it in E-Commerce: http://drupal.org/node/69678
Comment #4
jensfade CreditAttribution: jensfade commentedAh, Thank You for the link. It sounds to be useable to me, but I'll manage with audio module instead only have to do some editing by hand. Can't use the E-commerce as it's not for drupal 5 at the moment and as I'm not going to sell anything it seems a little bloated to use that module as it seems quite feature stuffed!
Comment #5
sunIntroducing audio_preview.module which is written for 4.7 and has to live in sub-folder contrib/audio_preview. It's build to work with E-Commerce but should work without it, too. Does nothing less than creating a new table audio_preview (which is identical to audio) to store audio preview file information and extending audio enhanced nodes with another upload form.
Credits go to smk-ka.
Sorry for submitting a compressed archive.
@drewish: Would it be possible to maintain this contrib module (component) inside of audio repository? We have plans to extend this module as described in the above E-Commerce issue.
Comment #6
bonobo CreditAttribution: bonobo commentedSetting to code needs review -- after reviewing the ecommerce issue #69678: Play audio before buy, the status of this is unclear.