Needs review
Project:
audio.js
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 Jul 2013 at 20:11 UTC
Updated:
1 May 2015 at 00:31 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jphelan commentedNo there is now way to do that with this module. Only multiple files attached to the same node.
Comment #2
Anonymous (not verified) commentedI think this would be a great feature. Shouldn't be too hard to do either... Just need to output HTML ordered list of fields with the audio file URL and add the necessary JS files.
Comment #3
jphelan commentedThat's a good idea. I've not done a custom view display but I would imagine it's not too difficult. I'll take a look at it.
Comment #4
Anonymous (not verified) commentedHere's a module I did a while ago that implemented a custom Views display/handler/thing: https://www.drupal.org/project/masonry_views Feel free to use it for inspiration.
Comment #5
jphelan commentedThanks man, that's helpful.
Comment #6
Anonymous (not verified) commentedHere's a patch I did that is working for me except that I had to tell Views to rewrite the output of my MP3 field to put the URL of the file in the 'data-src' attribute manually.
Ideally there'd be an option in the view settings to choose which field is the audio file and have views add the 'data-src' attribute to that field automatically...
This should give you a head-start though :)
Comment #7
jphelan commentedThanks BWPanda.
Comment #8
jphelan commentedComment #9
studio ml commentedBWPanda, can you describe how did you use your patch with views?
Thanks!
Comment #10
Anonymous (not verified) commentedTo apply a patch, see https://www.drupal.org/patch/apply. Unfortunately I'm no longer using this module so cannot recall what I did outside of that... Sorry.
Comment #11
studio ml commentedAre you using another module/library to make a audio player with views from audio files on multiples nodes?
Comment #12
Anonymous (not verified) commentedYes, I'm using jPlayer: https://www.drupal.org/project/jplayer
You can see the result here: http://www.yourchurch.com.au/media/sermons