[general] default_url = https://%site_id%/ default_watch_url = https://%site_id%/watch?v=%video_id% cookie_name = ytid_site_choice [html] # Replace ``http'' with ``https'' if you use https. # Add the port number if you use a non-standard port. mysite = http://%req:host% [html] header = + + + + + +Access youtube content the way you choose + + footer = + yttn = https://img.youtube.com/vi/%0%/default.jpg [errorpage] # the error page template can use macros provided by the dullcgi framework, # that is, ``common'' macros of Thalassa CMS and the macros added by the # framework, namely %html:%, %req:% and %getenv:% # # besides that, three local macros are defined here: # %errcode% - the 3-digit error code such as 404, 501 etc # %errmessage% - short human-readable error message # %progname% - the CGI program name, as defined by dullcgi_program_name # # please note no ``custom'' macros (added by the dullcgi_main function) # should ever be used here, because the error page may in some cases be # composed before calling that function template = %html:header% +

%errcode% %errmessage%

+To the main page of the site • +Choose another video to watch +
+%html:footer% [redirectpage] template = %html:header% +

Redirecting to %url%...

+Click here if your browser doesn't redirect automatically +%html:footer% [page form] template = %html:header% +

Watch videos where you like

+

This script allows you to watch YouTube videos using alternative + access facilities known as + Invidious. Just type the + video ID or a whole YouTube URL (e.g., if someone sent you a + link, you can just copy/paste the link) and press the "Go!" button. + You'll be present with a form that lets you choose where to + watch.

+
+ + + +
+
+

The ytid.cgi program is a part of + Thalassa CMS +

+%html:footer% [html] siteitem = + [page choice] template = %html:header% +

YouTube video %ytid%

+video thumbnail +
+Watch on YouTube +%[ifchoice| +
+
+ Your invidious instance of choice +

Your choosen site is + %site_choice%

+ + +
+
+Watch on %site_choice% +] +
+
+ Random invidious instance +

The random instance is + %random_site%

+
+
+Watch on %random_site% +
+
+ Choose invidious instance + +
+ + +
+ +
+ +
+
+
+
+

Saving the choice sets a cookie! Please don't press these buttons + if you don't like cookies.

+
+

Short link: +%[html:mysite]%[req:script]/%[ytid]. You can share it + with friends and other people.

+

Choose another video

+ +%html:footer%