[MGNLUI-4791] New framework: Audio and video preview Created: 13/Nov/18  Updated: 20/Aug/19  Resolved: 16/Nov/18

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0

Type: New Feature Priority: Neutral
Reporter: Evzen Fochr Assignee: Evzen Fochr
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 1d 0.5h
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Epic Link: UI framework: advanced features
Sprint: Kromeriz 165
Story Points: 2

 Description   

Audio and video preview in thumbnails

only in apps migrated to 6.0 api



 Comments   
Comment by Evzen Fochr [ 20/Nov/18 ]

For supported formats see:
https://developer.mozilla.org/en-US/docs/Web/Apps/Fundamentals/Audio_and_video_delivery/Cross-browser_audio_basics#Audio_Codec_Support
and
https://en.wikipedia.org/wiki/HTML5_audio

Comment by Evzen Fochr [ 20/Nov/18 ]

SUPPORTED_AUDIO_TYPES = ImmutableSet.of(
MediaType.MPEG_AUDIO.toString(),
MediaType.WEBM_AUDIO.toString(),
MediaType.OGG_AUDIO.toString(),
MediaType.MP4_AUDIO.toString(),
MediaType.AAC_AUDIO.toString(),
"audio/aacp",
"audio/flac",
"audio/wav",
"audio/x-wav"
);

SUPPORTED_VIDEO_TYPES = ImmutableSet.of(
MediaType.MPEG_VIDEO.toString(),
MediaType.WEBM_VIDEO.toString(),
MediaType.MP4_VIDEO.toString(),
MediaType.OGG_VIDEO.toString()
);

Generated at Mon Feb 12 09:20:07 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.