From 00900dfa437833849d4a918620fa5ad1b565cf36 Mon Sep 17 00:00:00 2001 From: Emilien Devos <4016501+unixfox@users.noreply.github.com> Date: Sat, 13 Jul 2024 23:56:57 +0200 Subject: [PATCH] upgrade videojs-contrib-quality-menu + remove modif about videojs-contrib-quality-menu icon --- assets/css/player.css | 4 ---- assets/js/player.js | 10 ---------- videojs-dependencies.yml | 4 ++-- 3 files changed, 2 insertions(+), 16 deletions(-) diff --git a/assets/css/player.css b/assets/css/player.css index cdfbdf7f..399f2e46 100644 --- a/assets/css/player.css +++ b/assets/css/player.css @@ -136,10 +136,6 @@ ul.vjs-menu-content::-webkit-scrollbar { display: none; } -.video-js .vjs-icon-cog { - font-size: 18px; -} - .video-js .vjs-control-bar, .vjs-menu-button-popup .vjs-menu .vjs-menu-content { background-color: rgba(35, 35, 35, 0.75); diff --git a/assets/js/player.js b/assets/js/player.js index 5a7fa26c..8d0a5a88 100644 --- a/assets/js/player.js +++ b/assets/js/player.js @@ -159,16 +159,6 @@ player.on('timeupdate', function () { elem_iv_other.href = addCurrentTimeToURL(base_url_iv_other, domain); }); -player.one('playing', function () { - - if (!video_data.params.listen && video_data.params.quality === 'dash') { - var quality_menu_button = document.getElementsByClassName('vjs-quality-menu-button'); - for (var i = 0; i < quality_menu_button.length; i++) { - quality_menu_button[i].className += ' vjs-icon-cog'; - } - } -}); - var shareOptions = { socials: ['fbFeed', 'tw', 'reddit', 'email'], diff --git a/videojs-dependencies.yml b/videojs-dependencies.yml index ffd99239..ebea0abe 100644 --- a/videojs-dependencies.yml +++ b/videojs-dependencies.yml @@ -8,8 +8,8 @@ videojs-contrib-quality-levels: shasum: 44c2d2167114a5c8418548b10a25cb409d6cba51 videojs-contrib-quality-menu: - version: 1.0.1 - shasum: 991f641afabf1b346088f290efcf689688e42368 + version: 1.0.3 + shasum: a15daff78170a332e5d1cd67601c82af2cd4c6da videojs-markers: version: 1.0.1