- use built-in videojs font icon instead
- remove button clickhandler override to make button work on mobile
This commit is contained in:
Ginger Wong 2021-05-29 14:20:37 -07:00
parent c08744c3c4
commit e89e65e1f5
3 changed files with 6 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 558 B

View file

@ -168,8 +168,6 @@ class OwncastPlayer {
MenuButtonClass.call(this, player);
},
handleClick: function () {},
createItems: function () {
const defaultAutoItem = new MenuItem(player, {
selectable: true,
@ -224,7 +222,6 @@ class OwncastPlayer {
{},
player.controlBar.children_.length - 2
);
this.qualityMenuButton = menuButton;
}.bind(this)
);

View file

@ -14,8 +14,13 @@ video.video-js {
content: url("../img/airplay.png");
}
.vjs-quality-selector .vjs-icon-placeholder {
font-family: VideoJS;
font-weight: 400;
font-style: normal;
}
.vjs-quality-selector .vjs-icon-placeholder::before {
content: url("../img/video-settings.png");
content: "\f110";
}
.vjs-big-play-button {