ToBase64 with webm
I'm trying to write a webm dataURL to a file using CFFILE. Do I use ToBase64 first and pass it to CFFILE output? I tried this but the resulting video file won't play. It has a file size but won't play.
I'm using Ajax to send the dataURL string to my ctc function. How do I write a video to a file? The dataURL mime type is webm.
<cfset vid64=#ToBase64(arguments.dataUrl)#>
<cffile action="write" output="#vid64#" file="#videopath#\#videoString#">
Thanks
Don
