michalstocki/FlashWavRecorder

Hi, How to put the FWRecorder.getBase64() string convert wav files in php ?

Aperta

#41 aperta il 26 nov 2014

 (2 commenti) (0 reazioni) (0 assegnatari)ActionScript (105 fork)batch import
help wanted

Metriche repository

Star
 (241 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

hi friends, try html form post FWRecorder.getBase64() string

PHP:

  $fileBase64 = str_replace('data:audio/wav;base64,', '',  $_POST['Base64']);
  $decoded = base64_decode($fileBase64 );
  file_put_contents('test.wav', $decoded);

but the test.wav can't play, help ~ thanks very much!

Guida contributor