I have successfully installed the audio module on my site and uploaded audio files.
Now I would like to embed audio player controls into book nodes in my site. The issue is that I want the audio player controls to appear inline in my book nodes (with several player controls on a single book page, each connected to a different audio file).
It seems that the most elegant solution would be to use the Drupal audio player control to do this. Is there a function call I can embed in my book nodes to accomplish this?
If this is not possible, what is the most robust and simple way to accomplish this with other audio player widgets?
Comments
Comment #1
Anonymous (not verified) commentedM4MAN,
Did you ever get this figured out - I am trying to something similar using S5 Presentation module...
Jim
Comment #2
HorsePunchKid commentedYou can call one of the theme functions, like:
print theme('audio_display', node_load($nid));If that's too much, you can also do something like:
print theme('audio_default_node_player', node_load($nid));Or:
print theme('audio_1pixelout_node_player', node_load($nid));