上传视频大小限制提升到100m
This commit is contained in:
parent
45aa529ccb
commit
00c20c84d0
|
@ -251,8 +251,8 @@
|
||||||
|
|
||||||
|
|
||||||
var imagSize = fileObj.size;
|
var imagSize = fileObj.size;
|
||||||
if (imagSize > 1024 * 1024 * 10) {
|
if (imagSize > 1024 * 1024 * 100) {
|
||||||
alert("视频大小为:" + (imagSize / (1024 * 1024)).toFixed(2) + "M,超出了上传大小," + "请选择10M以内的视频!");
|
alert("视频大小为:" + (imagSize / (1024 * 1024)).toFixed(2) + "M,超出了上传大小," + "请选择100M以内的视频!");
|
||||||
$("#videoName").text('文件太大了超出范围!');
|
$("#videoName").text('文件太大了超出范围!');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue