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

View File

@@ -14,8 +14,13 @@ video.video-js {
content: url("../img/airplay.png"); 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 { .vjs-quality-selector .vjs-icon-placeholder::before {
content: url("../img/video-settings.png"); content: "\f110";
} }
.vjs-big-play-button { .vjs-big-play-button {