src/video_player/hls_support_mixin.js
Function _loadHls
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_loadHls: function(source) {
var promise = Promise.create();
var Hls = this._hlsObj();
this._hls = new Hls();
this._hls.on(Hls.Events.MEDIA_ATTACHED, function() {