I have a quick'n'dirty solution (Works in my very limited test here..)

Use a separate CFM that pulls the right file using cfcontent.

<cfif url.id EQ 1>
    <cfheader name='Content-Disposition' value='filename=Danzig.mp3'>
    <cfcontent type='audio/mpeg' file='C:\music\Danzig.mp3'>
<cfelse>
    <cfheader name='Content-Disposition' value='filename=Entombed.mp3'>
    <cfcontent type='audio/mpeg' file='C:\music\Entombed.mp3'>
</cfif>

And on the player page just set the file like this: url:"file.cfm?id=1"

Quick'n'dirty but maybe it helps!

On Wednesday, October 23, 2013 5:26:30 PM UTC-5, Marcus F wrote:
>
> This sounds like a fun challenge.. I'm going to try and solve it, let you 
> know how it goes.
>
> On Wednesday, October 23, 2013 5:20:53 PM UTC-5, Magnus wrote:
>>
>> I want to directly access some content that is on another website 
>> residing on the same physical server. At first, I though I would use a CFML 
>> mapping to do this but then I realized this wouldn't work since the content 
>> is mp3 files. The goal is to be able to play the files fusing an 
>> client-side in-page media player (Sound Manager 2).
>>
>> A direct call to the mp3 files will bypass OBD so a mapping won't work.
>>
>> Thanks,
>> Magnus
>>
>

-- 
-- 
online documentation: http://openbd.org/manual/
 http://groups.google.com/group/openbd?hl=en

--- 
You received this message because you are subscribed to the Google Groups "Open 
BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to