4
我想要在我的網頁上嵌入jRecorder。我添加了它在說明文件中添加的內容,當我打開頁面時,它是空白的。jRecorder沒有在頁面上顯示
頁看起來是這樣的:
<!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>
我有沒有遵循這個錯誤?
我不使用jRecorder,和你使用的是什麼瀏覽器,我不知道,但:1)確保它與您的瀏覽器&2),如果你的瀏覽器有錯誤/調試兼容控制檯,查看它的具體錯誤消息,如果有的話。 – Miguel
我在其他網站上使用了來自同一瀏覽器的jRecorder,所以我不認爲這是問題所在。 – Milksnake12