I did get this working with on caveat. When I click on the player, it get and plays the audio via the cfheader and cfcontent tags but the player does not display the total length of the audio and therefore doesn't display a progress marker showing how far through the track you are. Since this progress marker can also be used by the user to move forward and backward through the track. Not having that is a significant loss of functionality.
I am wondering what information is being passed in the header by cfcontent/cfheader combo. I am assuming the player gets the total time from the header and calculates things from there. Are full headers sent or just a portion? Is there away to get more info sent in the header? For another solution, I used symlinks to make the target folder seem to be on the local site. This worked very straight forwardly as one would expect but does require the ability to make symlinks at the OS level. (Did you know you can make symlinks in Windows now using the mklink command in Server and Vista and above.) Magnus On Wednesday, 23 October 2013 21:45:50 UTC-7, Marcus F wrote: > > Magnus, if it doesn't work or you need more help, let me know, it was fun > to mess around with, and reminded me I need to write up a secure > file-handler. > And to MiniFireDragon, I just tested cfcaptcha on JAM 3.0 download version > and the nightly with the same result as on 2.0.2, no go. > > On Wednesday, October 23, 2013 11:36:12 PM UTC-5, Magnus wrote: >> >> Thanks, Marcus. I am going to give that a try. I'll report back on how it >> goes. >> >> One think working in my favour is that with That Sound Manager doesn't >> rely only on recognizing an audio file extention to convert a link to a >> play. You can use a css class to tell it to covert any link. >> >> >> On Wednesday, 23 October 2013 16:10:16 UTC-7, Marcus F wrote: >>> >>> 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.
