From 1209756616af52843f55ac53e2c7fbe29df63541 Mon Sep 17 00:00:00 2001 From: Matt Luedke Date: Tue, 14 Nov 2023 14:51:14 -0500 Subject: [PATCH] fix: use correct icon for Video.js 8 --- src/scss/quality-selector.scss | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/scss/quality-selector.scss b/src/scss/quality-selector.scss index 14d263a..b1d8095 100644 --- a/src/scss/quality-selector.scss +++ b/src/scss/quality-selector.scss @@ -12,7 +12,14 @@ font-weight: normal; font-style: normal; &::before { - content: '\f110'; + // The correct icon font character for Video.js 7 and below: + .video-js:not(.vjs-v8) & { + content: '\f110'; + } + // Icon font character for Video.js 8: + .vjs-v8 & { + content: '\f114'; + } } } }