From: Chocobozzz Date: Sun, 18 Feb 2018 08:47:13 +0000 (+0100) Subject: Fix issue with webm and opus video X-Git-Tag: v0.0.26-alpha~24 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=16f16570978bc57bbe14524e6d0cc27260191bfd;p=oweals%2Fpeertube.git Fix issue with webm and opus video --- diff --git a/client/src/assets/player/video-renderer.ts b/client/src/assets/player/video-renderer.ts index 3cd98242d..bda40b11d 100644 --- a/client/src/assets/player/video-renderer.ts +++ b/client/src/assets/player/video-renderer.ts @@ -104,7 +104,7 @@ function getCodec (name: string) { '.mkv': 'video/webm; codecs="avc1.640029, mp4a.40.5"', '.mp3': 'audio/mpeg', '.mp4': 'video/mp4; codecs="avc1.640029, mp4a.40.5"', - '.webm': 'video/webm; codecs="vorbis, vp8"' + '.webm': 'video/webm; codecs="opus, vorbis, vp8"' }[ext] }