Resolve issue https://github.com/owncast/owncast/issues/1044
- use built-in videojs font icon instead - remove button clickhandler override to make button work on mobile
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 558 B |
@@ -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)
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user