gpt4 book ai didi

html - jRecorder 未显示在页面上

转载 作者:搜寻专家 更新时间:2023-10-31 21:52:44 25 4
gpt4 key购买 nike

我想在我的网页上嵌入一个 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>

我是不是听错了?

最佳答案

嘿,关于 jRecorder,正如 Miguel 所说,您需要检查浏览器的兼容性。所以如果你使用 chrome 或 opera 或 firefox,你不会有任何问题。但如果是 IE8 或 9,则无法正常工作,但 IE10 可以。所以如果你想让它在 IE9 上工作你需要做什么你需要修改你的 jRecorder.js 或者如果你想尝试从 https://github.com/capsula4/jRecorder 下载它,我认为他解决了这个问题。

谢谢

关于html - jRecorder 未显示在页面上,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12254605/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com