diff --git a/frontend/js/integrations/search.js b/frontend/js/integrations/search.js index 541484a3b..ee332c5eb 100644 --- a/frontend/js/integrations/search.js +++ b/frontend/js/integrations/search.js @@ -153,6 +153,9 @@ define([ videos = _.sortBy(videos, "master").reverse(); videos.sort( util.lexicographic([ + util.firstWith( + _.property("master") + ), util.firstWith(_.compose( RegExp.prototype.test.bind(/composite\/.*/), _.property("type") diff --git a/frontend/js/player-adapter-html5.js b/frontend/js/player-adapter-html5.js index f718cd2ab..ce0fd6f96 100644 --- a/frontend/js/player-adapter-html5.js +++ b/frontend/js/player-adapter-html5.js @@ -85,7 +85,6 @@ define( window.Hls = Hls; mediaElementPlayer = new mejs.MediaElementPlayer(targetElement, { - renderers: ["native_hls", "html5"], alwaysShowControls: true, autoRewind: false, stretching: "fill",