Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
unclekingpin committed Nov 5, 2023
1 parent a68655c commit 6e0dcbe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/mediaCapabilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,17 +70,17 @@ function getMediaCapabilities() {
var mediaElement = document.createElement('video');
var formats = ['mp4', 'matroska,webm'];
var videoCodecs = VIDEO_CODEC_CONFIGS
.map(function (config) {
.map(function(config) {
return canPlay(config, { mediaElement: mediaElement });
})
.reduce(function (result, value) {
.reduce(function(result, value) {
return result.concat(value);
}, []);
var audioCodecs = AUDIO_CODEC_CONFIGS
.map(function (config) {
.map(function(config) {
return canPlay(config, { mediaElement: mediaElement });
})
.reduce(function (result, value) {
.reduce(function(result, value) {
return result.concat(value);
}, []);
var maxAudioChannels = getMaxAudioChannels();
Expand Down

0 comments on commit 6e0dcbe

Please sign in to comment.