We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0fc256 commit 31de39aCopy full SHA for 31de39a
assets/js/player.js
@@ -751,7 +751,7 @@ if (window.location.pathname.startsWith("/embed/")) {
751
752
// Create hyperlink for current instance
753
redirect_element = document.createElement("a");
754
- redirect_element.setAttribute("href", `http://${window.location.host}/watch?v=${window.location.pathname.replace("/embed/","")}`)
+ redirect_element.setAttribute("href", `//${window.location.host}/watch?v=${window.location.pathname.replace("/embed/","")}`)
755
redirect_element.appendChild(document.createTextNode("Invidious"))
756
757
watch_on_invidious_button.el().appendChild(redirect_element)
0 commit comments