aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets/player/video-renderer.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-02-18 09:47:13 +0100
committerChocobozzz <me@florianbigard.com>2018-02-18 09:48:07 +0100
commit16f16570978bc57bbe14524e6d0cc27260191bfd (patch)
tree541e5f3487a96b0d6d1092ddc7d0a3737bc51fed /client/src/assets/player/video-renderer.ts
parent44cb3b85f8299b6300a23fea9e04b7f6e20a8023 (diff)
downloadPeerTube-16f16570978bc57bbe14524e6d0cc27260191bfd.tar.gz
PeerTube-16f16570978bc57bbe14524e6d0cc27260191bfd.tar.zst
PeerTube-16f16570978bc57bbe14524e6d0cc27260191bfd.zip
Fix issue with webm and opus video
Diffstat (limited to 'client/src/assets/player/video-renderer.ts')
-rw-r--r--client/src/assets/player/video-renderer.ts2
1 files changed, 1 insertions, 1 deletions
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) {
104 '.mkv': 'video/webm; codecs="avc1.640029, mp4a.40.5"', 104 '.mkv': 'video/webm; codecs="avc1.640029, mp4a.40.5"',
105 '.mp3': 'audio/mpeg', 105 '.mp3': 'audio/mpeg',
106 '.mp4': 'video/mp4; codecs="avc1.640029, mp4a.40.5"', 106 '.mp4': 'video/mp4; codecs="avc1.640029, mp4a.40.5"',
107 '.webm': 'video/webm; codecs="vorbis, vp8"' 107 '.webm': 'video/webm; codecs="opus, vorbis, vp8"'
108 }[ext] 108 }[ext]
109} 109}
110 110