<div dir="ltr"><div class="gmail_extra">Oops,</div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Aug 24, 2014 at 12:02 AM, silvioprog <span dir="ltr"><<a href="mailto:silvioprog@gmail.com" target="_blank">silvioprog@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">
On Sat, Aug 23, 2014 at 9:07 PM, "Leonardo M. Ramé" <span dir="ltr"><<a href="mailto:l.rame@griensu.com" target="_blank">l.rame@griensu.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>[...]</div><div class="">
Thank you very much Silvio for testing. <br>
<br>
My setup is XUbuntu 14.04 64bits, and Apache/2.4.7 (Ubuntu). Also
I'm testing on Firefox 31 For Ubuntu with the latest version of
Flash Plugin.<br>
<br>
What confuses me is the same setup, but instead of the CGI, if I use
PHP, the file is stored with the complete audio.</div></div></blockquote></div><div><br></div><div>Worked on Ubuntu too, please try it online here:</div><div><br></div><div><font color="#1155cc"><u><a href="https://brookframework.org/leo/" target="_blank">https://brookframework.org/leo/</a></u></font></div>
<div><br></div><div>I used "chmod 777 -R /var/www/html/leo/tmp/" to my CGI can write waves into this directory.</div><div><br></div><div>The modified source code (i'm using jQuery in this demo to less coding hehe):</div>
<div><br></div><div><a href="http://tempsend.com/06FD41FF11" target="_blank">http://tempsend.com/06FD41FF11</a></div></div></div></blockquote><div><br></div><div>Please try online demo again. And in your code change this lines:</div>
<div><br></div><div>...</div><div><div><span class="" style="white-space:pre"> </span>stopButton.on('click', function(e) {</div><div><span class="" style="white-space:pre"> </span>e.preventDefault();</div><div><span class="" style="white-space:pre"> </span>e.stopPropagation();</div>
<div><span class="" style="white-space:pre"> </span>$(this).prop('disabled', true);</div><div><span class="" style="white-space:pre"> </span>startButton.prop('disabled', false);</div><div><span class="" style="white-space:pre"> </span>Wami.stopRecording();</div>
<div><span class="" style="white-space:pre"> </span>setTimeout(function() {</div><div><span class="" style="white-space:pre"> </span>downloadLink.removeClass('hidden');</div><div><span class="" style="white-space:pre"> </span>}, 3000);</div>
<div><span class="" style="white-space:pre"> </span>});</div></div><div>...</div><div> </div></div>-- <br>Silvio Clécio<br>My public projects - <a href="http://github.com/silvioprog" target="_blank">github.com/silvioprog</a>
</div></div>