Updated the ytr.html page and the video shortcode (don't need the ytr subdomain anymore)
parent
fa0730e7d2
commit
5996da2720
|
@ -41,7 +41,7 @@
|
|||
#pipedbtn {background-color: darkred} /* Piped */
|
||||
#ytbtn {background-color: red} /* YouTube */
|
||||
#odybtn {background-color: purple} /* Odysee */
|
||||
#ptbtn {background-color: darkorange} /* PeerTube */
|
||||
#ptbtn {background-color: #C2540A} /* PeerTube */
|
||||
</style>
|
||||
<script>
|
||||
const queryString = window.location.search;
|
||||
|
@ -66,10 +66,11 @@
|
|||
</head>
|
||||
<body>
|
||||
<p>Where do you want to watch this video?</p>
|
||||
<a id="pipedbtn" class="button" href="https://il.ax/embed/">Piped (il.ax)</a>
|
||||
<a id="ytbtn" class="button" href="https://youtube.com/embed/">YouTube*</a>
|
||||
<a id="odybtn" class="button" href="https://odysee.com/$/embed/@gianmarcogg03:e/">Odysee*</a>
|
||||
<a id="pipedbtn" class="button" href="https://piped.projectsegfau.lt/embed/">Piped¹</a>
|
||||
<a id="ytbtn" class="button" href="https://youtube.com/embed/">YouTube²</a>
|
||||
<a id="odybtn" class="button" href="https://odysee.com/$/embed/@gianmarcogg03:e/">Odysee²</a>
|
||||
<a id="ptbtn" class="button" href="https://peertube.uno/videos/embed/">PeerTube</a>
|
||||
<p>* = not freedom and/or privacy respecting.</p>
|
||||
<p>¹ = the instance used is "piped.projectsegfau.lt".</p>
|
||||
<p>² = not freedom and/or privacy respecting.</p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<div class="embed video-player">
|
||||
<noscript><h3>The video players don't work without JavaScript enabled!</h3></noscript>
|
||||
<iframe class="youtube-player" type="text/html" width="700" height="385" src="https://ytr.gianmarco.gg/?yt={{ index .Params 0 }}&ody={{ index .Params 1 }}&pt={{ index .Params 2 }}" allowfullscreen frameborder="0"></iframe>
|
||||
<noscript><h3>The video players don't work without JavaScript enabled!</h3><br></br></noscript>
|
||||
<iframe class="youtube-player" type="text/html" width="700" height="385" src="/ytr.html?yt={{ index .Params 0 }}&ody={{ index .Params 1 }}&pt={{ index .Params 2 }}" allowfullscreen frameborder="0"></iframe>
|
||||
<p></p>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue