4

Web ページに jRecorder を埋め込もうとしています。このドキュメント ページhttp://www.sajithmr.me/jrecorder/index.htmlに追加する内容を追加しましたが、ページを開くと空白です。

ページは次のようになります。

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script src="jquery.min.js"> </script>
<script src="jRecorder.js"> </script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
</head>
<body>
<div>
<script>
    $.jRecorder(
    {
       'rec_width': '300',
       'rec_height': '200',
       'rec_top': '0px',
       'rec_left': '0px',
       'recorderlayout_id' : 'flashrecarea',
       'recorder_id' : 'audiorecorder',
       'recorder_name': 'audiorecorder',
       'wmode' : 'transparent',
       'bgcolor': '#ff0000',
       'swf_path': 'jRecorder.swf',
       'host': 'acceptfile.php?filename=hello.wav',
       'callback_started_recording' : function(){},
       'callback_finished_recording' : function(){},
       'callback_stopped_recording': function(){},
       'callback_error_recording' : function(){},
       'callback_activityTime': function(time){},
       'callback_activityLevel' : function(level){}
        }
        );
</script>
</div>
</body>
</html>

私はこれを間違ってフォローしましたか?

4

1 に答える 1

-1

ミゲルが言うように、ブラウザの互換性を確認する必要があります。したがって、クロム、オペラ、またはファイアフォックスを使用している場合、問題はありません。ただし、IE8または9の場合は機能しませんが、IE10では機能します。したがって、IE9で動作させたい場合はjRecorder.jsを変更する必要があるか、https://github.com/capsula4/jRecorderからダウンロードしようとする場合は、彼がこれを解決したと思います。

ありがとうございました

于 2012-09-07T00:08:37.663 に答える