diff --git a/frontend/js/integrations/search.js b/frontend/js/integrations/search.js index 42e6de5cb..30b5e0e31 100644 --- a/frontend/js/integrations/search.js +++ b/frontend/js/integrations/search.js @@ -159,9 +159,11 @@ define([ RegExp.prototype.test.bind(/application\/.*|video\/.*/), _.property("mimetype") )); - 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 5658ddae8..4bffa64ce 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",