|
|
@@ -103,6 +103,9 @@ public class AliyunVideoExcutor implements VideoExcutor { |
|
|
|
@Override |
|
|
|
public VideUploadResult uploadVideoPath(String title, String url) { |
|
|
|
VideUploadResult result = new VideUploadResult(); |
|
|
|
if(StringUtils.isBlank(title)){ |
|
|
|
title = "无标题"; |
|
|
|
} |
|
|
|
try { |
|
|
|
InputStream inputStream = new URL(url).openStream(); |
|
|
|
return this.uploadVideoStream(title,inputStream,".mp4"); |
|
|
|