Skip to content

Commit 651176d

Browse files
author
Yaniv Aran-Shamir
committed
fixed h265 transformation
1 parent 04c139d commit 651176d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/config/defaults.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export default {
5959
loop: false,
6060
muted: false,
6161
posterOptions: {},
62-
sourceTypes: ['webm', 'mp4', 'fallback'],
62+
sourceTypes: ['webm', 'mp4/h265', 'mp4', 'fallback'],
6363
contextMenu: {
6464
content: contextMenuContent
6565
},

src/plugins/cloudinary/common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ const codecToSrcTransformation = (codec) => {
173173
switch (codec) {
174174
case 'vp9':
175175
return { video_codec: 'vp9' };
176-
case 'h265':
176+
case 'hev1':
177177
return { video_codec: 'h265' };
178178
case 'h264':
179179
return { video_codec: 'h264:baseline:3.0' };

0 commit comments

Comments
 (0)