基本信息
源码名称:js实现录音 并将录音文件保存至服务器
源码大小:0.25M
文件格式:.rar
开发语言:PHP
更新时间:2016-09-09
友情提示:(无需注册或充值,赞助后即可获取资源下载链接)
嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300
本次赞助数额为: 2 元×
微信扫码支付:2 元
×
请留下您的邮箱,我们将在2小时内将文件发到您的邮箱
源码介绍
后端程序 实现了保存录音文件功能,为php开发
后端程序 实现了保存录音文件功能,为php开发
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<script src="jquery-1.7.2.min.js" language="javascript"></script>
<script>
function f_getURL(){
var url = "acceptfile.php";
return url;
}
function f_getMAX(){
return 60;//最长录音时间
}
function f_getMIN(){
return 10; //最小录音时间
}
function f_complete(filename){
alert(filename);
/*if (typeof(SUPER_REPLY) != 'undefined') {
if (wysiwyg) {
editdoc.body.innerHTML = '[audio]rec/' filename '[/audio]';
} else {
editdoc.value = '[audio]rec/' filename '[/audio]';
}
}*/
var test=jQuery('#fastpostmessage').val() '[audio]' filename '[/audio]';
alert(test);
jQuery('#fastpostmessage').val(test);
/*if (jQuery('.pnpost').css('display') == 'none') {
jQuery('#fastpostform').submit();
}*/
}
</script>
</head>
<body>
<p> </p>
<p> </p>
<p> </p>
<div id=""><textarea name="fastpostmessage" id="fastpostmessage" cols="60" rows="5"></textarea></div>
<p>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="808" height="140" id="as_js" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="./bbsRecorder.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent">
<param name="bgcolor" value="#cccccc" />
<embed src="./bbsRecorder.swf" vmode="transparent" quality="high" bgcolor="#cccccc" width="808" height="140" name="as-js" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</p>
</body>
</html>