Skip to content

Commit

Permalink
add webm format
Browse files Browse the repository at this point in the history
  • Loading branch information
unclekingpin committed Oct 27, 2023
1 parent 5a74613 commit 3381316
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mediaCapabilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function getMaxAudioChannels() {

function getMediaCapabilities() {
var mediaElement = document.createElement('video');
var formats = ['mp4'];
var formats = ['mp4', 'webm'];
var videoCodecs = VIDEO_CODEC_CONFIGS
.map(function(config) {
return canPlay(config, { mediaElement: mediaElement });
Expand Down

0 comments on commit 3381316

Please sign in to comment.