申请腾讯云 获取id 及 key
【腾讯云视频】Web上传 地址
Java 签名示例
https://cloud.tencent.com/document/product/266/10638
demo
http://video.qcloud.com/sdk/ugcuploader.html?_ga=1.215462160.645636177.1512724448
根据Java 签名示例获取相关的签名 根据上面签名案例
var getSignature = function (callback) {
$.ajax({
type: "get",
url: "getMyKey",
dataType: "text",
success: function (result) {
callback(result);
},
error: function (result) {
alert("失败");
}
});
}
页面引入相关js
上传视频 :