moved script into head & removed async because it only applies to src="" scripts
parent
4608df2edc
commit
948c95c187
|
@ -43,9 +43,7 @@
|
|||
#odybtn {background-color: purple} /* Odysee */
|
||||
#ptbtn {background-color: darkorange} /* PeerTube */
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<script async>
|
||||
<script>
|
||||
const queryString = window.location.search;
|
||||
const urlParams = new URLSearchParams(queryString);
|
||||
const codeyt = urlParams.get('yt')
|
||||
|
@ -65,7 +63,8 @@
|
|||
changeHref('ody',codeody);
|
||||
});
|
||||
</script>
|
||||
|
||||
</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>
|
||||
|
|
Loading…
Reference in New Issue