Invidious is an alternative front-end to YouTube
Remove insecure protocol in embedded view
AHOHNMYC31de39a7a44f
diff --git a/assets/js/player.js b/assets/js/player.jsindex e478fb8f..f4440de1 100644--- a/assets/js/player.js+++ b/assets/js/player.js@@ -751,7 +751,7 @@ if (window.location.pathname.startsWith("/embed/")) {// Create hyperlink for current instanceredirect_element = document.createElement("a");- 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/","")}`)redirect_element.appendChild(document.createTextNode("Invidious"))watch_on_invidious_button.el().appendChild(redirect_element)