[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%
+
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
+