diff --git a/static/ytr.html b/static/ytr.html index 38693f7..fb9d2a5 100644 --- a/static/ytr.html +++ b/static/ytr.html @@ -1,75 +1,74 @@ - Video site chooser - - + #pipedbtn {background-color: darkred;} /* Piped */ + #ytbtn {background-color: red;} /* YouTube */ + #odybtn {background-color: purple;} /* Odysee */ + #ptbtn {background-color: darkorange;} /* PeerTube */ + - - -

Where do you want to watch this video?

- Piped (il.ax) - YouTube* - Odysee* - PeerTube -

* = not freedom and/or privacy respecting.

+ //wait for page to load before executing js, so the elements actually exist + window.addEventListener('load',()=>{ + changeHref('yt',codeyt); + changeHref('piped',codeyt); + changeHref('pt',codept); + changeHref('ody',codeody); + }); + +

Where do you want to watch this video?

+ Piped (il.ax) + YouTube* + Odysee* + PeerTube +

* = not freedom and/or privacy respecting.