

<body>
	<p>视频
		<input type="file" id="vname" />
	</p>
	<p>图片
		<input type="file" id="cname" />
	</p>
	<input type="button" onclick="uploadvideo()" value="上传视频"> 上传进度：
	<progress id="progress" value="0" max="100">
	</progress>
</body>

</html>
<script>
	var getSignature = function (callback) {
		$.ajax({
			url: "http://localhost:5000/api/uploadsign", //服务器获取客户端上传签名的URL
			type: "POST",
			success: function (result) {
				callback(result);
			}
		});
	}