Skip to content

Commit

Permalink
Address review comments of opencast#627
Browse files Browse the repository at this point in the history
  • Loading branch information
marwyg committed Jan 24, 2025
1 parent d1663be commit 3fa20a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion frontend/js/integrations/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
1 change: 0 additions & 1 deletion frontend/js/player-adapter-html5.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ define(

window.Hls = Hls;
mediaElementPlayer = new mejs.MediaElementPlayer(targetElement, {
renderers: ["native_hls", "html5"],
alwaysShowControls: true,
autoRewind: false,
stretching: "fill",
Expand Down

0 comments on commit 3fa20a5

Please sign in to comment.