|
|
@@ -17,19 +17,8 @@ public class VideoInfo implements Serializable {
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
private String videoId;
|
|
|
- private String videoObjectName;
|
|
|
// 单位秒
|
|
|
private Integer duration;
|
|
|
- private Integer width;
|
|
|
- private Integer height;
|
|
|
private Boolean horizontal;
|
|
|
-
|
|
|
- public VideoInfo(String videoId, String videoObjectName, Integer duration, Integer width, Integer height) {
|
|
|
- this.videoId = videoId;
|
|
|
- this.videoObjectName = videoObjectName;
|
|
|
- this.duration = duration;
|
|
|
- this.width = width;
|
|
|
- this.height = height;
|
|
|
- this.horizontal = width > height;
|
|
|
- }
|
|
|
+ private String quality;
|
|
|
}
|