Commit 70f28eb7 authored by shiyu's avatar shiyu

getHomePageImage去除获取视频第一帧图片尺寸

parent 993b0a56
...@@ -114,7 +114,7 @@ public class MediaUtil { ...@@ -114,7 +114,7 @@ public class MediaUtil {
homePageMap.put("type", 2); homePageMap.put("type", 2);
} }
} }
if (org.apache.commons.lang3.StringUtils.isNotBlank(videos)) { /*if (org.apache.commons.lang3.StringUtils.isNotBlank(videos)) {
String[] videoImage = videos.split(";"); String[] videoImage = videos.split(";");
if (videoImage[0].contains(",")) { if (videoImage[0].contains(",")) {
String[] video = videoImage[0].split(","); String[] video = videoImage[0].split(",");
...@@ -122,7 +122,7 @@ public class MediaUtil { ...@@ -122,7 +122,7 @@ public class MediaUtil {
homePageMap.put("url", video[1]); homePageMap.put("url", video[1]);
homePageMap.put("type", 1); homePageMap.put("type", 1);
} }
} }*/
return homePageMap; return homePageMap;
} }
......
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