diff --git a/webroot/js/player.js b/webroot/js/player.js index 07cb001..b37df45 100644 --- a/webroot/js/player.js +++ b/webroot/js/player.js @@ -120,7 +120,7 @@ window.addEventListener('DOMContentLoaded', (event) => { return 1; } if (a.vcodec !== 'none' && b.vcodec !== 'none') { - return b.width - a.height; + return b.height - a.height; } if (a.acodec !== 'none' && b.acodec !== 'none') { return b.abr - a.abr;