diff --git a/public/_locales/en/messages.json b/public/_locales/en/messages.json index 19438a47..a3906346 100644 --- a/public/_locales/en/messages.json +++ b/public/_locales/en/messages.json @@ -350,20 +350,23 @@ "keybindCurrentlySet": { "message": ". It is currently set to:" }, - "supportInvidious": { - "message": "Support Invidious" + "supportOtherSites": { + "message": "Support 3rd Party YouTube-Sites" }, - "supportInvidiousDescription": { - "message": "Invidious (invidio.us) is a third party YouTube client. To enable support, you must accept the extra permissions. This does NOT work in incognito on Chrome and other Chromium variants." + "supportOtherSitesDescription": { + "message": "Support third party party YouTube clients. To enable support, you must accept the extra permissions. This does NOT work in incognito on Chrome and other Chromium variants." + }, + "supportedSites": { + "message": "Supported Sites: " }, "optionsInfo": { "message": "Enable Invidious support, disable autoskip, hide buttons and more." }, "addInvidiousInstance": { - "message": "Add Invidious Instance" + "message": "Add 3rd-Party Client Instance" }, "addInvidiousInstanceDescription": { - "message": "Add a custom instance of Invidious. This must be formatted with JUST the domain. Example: invidious.ajay.app" + "message": "Add a custom instance. This must be formatted with JUST the domain. Example: invidious.ajay.app" }, "add": { "message": "Add" diff --git a/public/options/options.html b/public/options/options.html index 6b5bb717..1dd358e5 100644 --- a/public/options/options.html +++ b/public/options/options.html @@ -33,7 +33,7 @@
-

diff --git a/src/render/SkipNotice.tsx b/src/render/SkipNotice.tsx index d259029f..426b1460 100644 --- a/src/render/SkipNotice.tsx +++ b/src/render/SkipNotice.tsx @@ -22,12 +22,11 @@ class SkipNotice { this.contentContainer = contentContainer; //get reference node - let referenceNode = document.getElementById("player-container-id") - || document.getElementById("movie_player") || document.querySelector("#player-container .video-js"); - // YouTube Music - if (new URL(document.URL).host === "music.youtube.com") { - referenceNode = document.querySelector("#main-panel.ytmusic-player-page"); - } + let referenceNode = document.getElementById("player-container-id") + ?? document.getElementById("movie_player") + ?? document.querySelector("#main-panel.ytmusic-player-page") // YouTube music + ?? document.querySelector("#player-container .video-js") // Invidious + ?? document.querySelector(".main-video-section > .video-container"); // Cloudtube if (referenceNode == null) { //for embeds const player = document.getElementById("player");