michalstocki/FlashWavRecorder

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

オープン

#41 opened on 2014/11/26

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)ActionScript (105 件のフォーク)batch import
help wanted

Repository metrics

Stars
 (241 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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!

コントリビューターガイド