Commit 07a3c9fd by onuma

コメントを元に戻しました。

parent 125880a2
......@@ -64,6 +64,14 @@ $("#video-form").on("submit", function (e) {
var fd = new FormData($(this)[0]);
if (!file.type.includes("image")) {
// video 保存
// ChatMediaHandler.createVideoThumbnailAndUpload(file, function(resizeFile, thumbnailCreated) {
// if(resizeFile && thumbnailCreated) {
// //ただ、画像の大きさが500pixel以下の場合はthumbnailは生成されない
// fd.append('thumb', resizeFile)
// }
// ChatMediaHandler.uploadImage(fd);
// })
ChatMediaHandler.uploadImage(fd);
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment