Skip to content

Commit

Permalink
fix: use correct icon for Video.js 8
Browse files Browse the repository at this point in the history
  • Loading branch information
yokuze committed Nov 14, 2023
1 parent d16842b commit 1209756
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/scss/quality-selector.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}
}
}
}
Expand Down

0 comments on commit 1209756

Please sign in to comment.