Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions xmodule/js/src/video/02_html5_hls_video.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@

this.config = config;

// do common initialization independent of player type
this.init(el, config);

// set a default audio codec if not provided, this helps reduce issues
// switching audio codecs during playback
if (!this.config.defaultAudioCodec) {
this.config.defaultAudioCodec = "mp4a.40.5";
}

// do common initialization independent of player type
this.init(el, config);

_.bindAll(this, 'playVideo', 'pauseVideo', 'onReady');

// If we have only HLS sources and browser doesn't support HLS then show error message.
Expand Down
Loading