Skip to content

Commit

Permalink
update constants for progressive audio types
Browse files Browse the repository at this point in the history
  • Loading branch information
dallen42 committed Nov 13, 2018
1 parent 43c8e3f commit dedfe6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion html5-common
4 changes: 2 additions & 2 deletions src/main/js/main_html5.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ import CONSTANTS from "./constants/constants";
}

if (!!videoElement.canPlayType("audio/ogg")) {
list.push(OO.VIDEO.ENCODING.OGG);
list.push(OO.VIDEO.ENCODING.AUDIO_OGG);
}

if (!!videoElement.canPlayType("audio/x-m4a")) {
list.push(OO.VIDEO.ENCODING.M4A);
list.push(OO.VIDEO.ENCODING.AUDIO_M4A);
}

if (!!videoElement.canPlayType("video/webm")) {
Expand Down

0 comments on commit dedfe6f

Please sign in to comment.