Add filename to "play" link

davebv - October 14, 2009 - 20:34
Project:Audio
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

I am making a module for integrating soundplayer2 as cck formater and would like to use audio url_play to play witth SoundManager2. For that, I need a filelink (so must end with .mp3)

I made a patch the same way the problem with itunes and other feed readers for the download link.

AttachmentSize
audio.patch Make the play link appear as a real mp3.875 bytes

#1

davebv - October 15, 2009 - 17:26

Sorry, my problem is solved (or so I think) so this patch is not needed anymore.

I just generated the play link such as

<?php
print $content->url_play .'/'. $content->audio['file']->filename ;
?>
and seems to work.

#2

David Lesieur - October 28, 2009 - 00:58
Status:active» fixed

#3

System Message - November 11, 2009 - 01:00
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.