diff --git a/lib/videojs-resolution-switcher.js b/lib/videojs-resolution-switcher.js index 01796dd..acace38 100644 --- a/lib/videojs-resolution-switcher.js +++ b/lib/videojs-resolution-switcher.js @@ -366,7 +366,8 @@ var _selectPlaylist; if(selectedResolution === 'auto'){ - return _selectPlaylist = videojs.HlsHandler.prototype.selectPlaylist + _selectPlaylist = videojs.HlsHandler.prototype.selectPlaylist; + return _selectPlaylist; } _selectPlaylist = function (){