Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

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

Ginger Wong9acedfcc587b
diff --git a/webroot/img/video-settings.png b/webroot/img/video-settings.png
deleted file mode 100644
index a7a97a0516..0000000000
Binary files a/webroot/img/video-settings.png and /dev/null differ
diff --git a/webroot/js/components/player.js b/webroot/js/components/player.js
index cf7f28d2ca..265eac6f1f 100644
--- a/webroot/js/components/player.js
+++ b/webroot/js/components/player.js
@@ -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)
);
diff --git a/webroot/styles/video.css b/webroot/styles/video.css
index feb38b624b..66284ff287 100644
--- a/webroot/styles/video.css
+++ b/webroot/styles/video.css
@@ -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 {