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