|
|
@@ -96,9 +96,7 @@ public class PhotoSpeakSchedule { |
|
|
|
try { |
|
|
|
VideUploadResult videoDetail = videoFactory.getExcutor(videoType).getVideoDetailWithCache(video.getVideoId(),false); |
|
|
|
logger.info("userVideoDetailSchedule" + videoDetail); |
|
|
|
if (videoDetail.isSuccess() |
|
|
|
&& StringUtils.isNotBlank(videoDetail.getDuration()) |
|
|
|
&& !"0.0".equals(videoDetail.getDuration())) { |
|
|
|
if (videoDetail.isSuccess() && StringUtils.isNotBlank(videoDetail.getDuration()) && StringUtils.isNotBlank(videoDetail.getVideoUrl())) { |
|
|
|
video.setCoverImg(videoDetail.getCoverURL()); |
|
|
|
video.setVideoPlayUrl(videoDetail.getVideoUrl()); |
|
|
|
Double _vt = Double.valueOf(videoDetail.getDuration()); |
|
|
|