mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-22 21:55:39 +00:00
bug5127: fixed not visible mov file on home media tab (if mime type is mov). Added mov to supported video types in MediaTagConstants.
- made changes to MimeType qt so that it is not using quicktime media sub type any more, because it is practically used as mp4 sub type by any video component later.
This commit is contained in:
@@ -27,7 +27,7 @@ public enum MediaTagConstants {
|
||||
public static final Iterable<String> videoTagSuggestions = Arrays.asList(new String[] { BIGSCREEN.getName(),
|
||||
LIVESTREAM.getName(), HIGHLIGHT.getName(), FEATURED.getName(), STAGE.getName() });
|
||||
public static final Set<MimeType> SUPPORTED_VIDEO_TYPES = new HashSet<>(Arrays.asList(MimeType.youtube,
|
||||
MimeType.vimeo, MimeType.mp4, MimeType.mp4panorama, MimeType.mp4panoramaflip, MimeType.qt));
|
||||
MimeType.vimeo, MimeType.mp4, MimeType.mp4panorama, MimeType.mp4panoramaflip, MimeType.mov, MimeType.qt));
|
||||
|
||||
private MediaTagConstants(String name, int minWidth, int maxWidth, int minHeight, int maxHeight) {
|
||||
this.name = name;
|
||||
|
||||
@@ -4,7 +4,7 @@ public enum MimeType {
|
||||
|
||||
mp4(MediaType.video, MediaSubType.mp4, "mp4"),
|
||||
ogv(MediaType.video, MediaSubType.ogg, "ogv"),
|
||||
qt(MediaType.video, MediaSubType.quicktime, "qt|qtvr|qti|qtif"),
|
||||
qt(MediaType.video, MediaSubType.mp4, "qt|qtvr|qti|qtif"),
|
||||
mp3(MediaType.audio, MediaSubType.mpeg, "mp3"),
|
||||
ogg(MediaType.audio, MediaSubType.ogg, "ogg|oga|spx"),
|
||||
aac(MediaType.audio, MediaSubType.aac, "acc"),
|
||||
|
||||
Reference in New Issue
Block a user