diff options
author | Chocobozzz <me@florianbigard.com> | 2018-02-18 09:47:13 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-02-18 09:48:07 +0100 |
commit | 16f16570978bc57bbe14524e6d0cc27260191bfd (patch) | |
tree | 541e5f3487a96b0d6d1092ddc7d0a3737bc51fed /client | |
parent | 44cb3b85f8299b6300a23fea9e04b7f6e20a8023 (diff) | |
download | PeerTube-16f16570978bc57bbe14524e6d0cc27260191bfd.tar.gz PeerTube-16f16570978bc57bbe14524e6d0cc27260191bfd.tar.zst PeerTube-16f16570978bc57bbe14524e6d0cc27260191bfd.zip |
Fix issue with webm and opus video
Diffstat (limited to 'client')
-rw-r--r-- | client/src/assets/player/video-renderer.ts | 2 |
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 | ||