Plays audio (Jožin z bažin by default) when clicking the Czech flag as if the triangle is a play button
By @ChaoticNeutralCzech
Pressing the "a" key on the site will reveal a link to this page.
If you find a better source for the Jožin z Bažin audio (directly hosted MP3/M4A/OPUS/... file) or can rewrite the code to sneakily embed a YouTube video, feel free to make a pull request! You can obviously make a fork of this for the Philippines or any other extension.
Right-click this link and choose "Save link as..."
If you want to have everything offline including the music, you can follow the steps below:
Add the following text to the URL. This works whether the page is online or offline.
?m=<yourMusic>&bg=<yourColor>
<yourMusic>
is the URL-encoded URL of your music file. When the page is saved on your device (see above), relative paths are supported, which means that if the sound file is in the same folder, you can just put its filename here and it will work! You still need to URL-encode it, which means thatJožin z bažin.mp3
will becomeJo%C5%BEin+z+Ba%C5%BEin.mp3
. Example (you're using Windows, you saved the file in your Downloads folder asflag.html
and so isJožin z bažin.mp3
:file:///C:/Users/<username>/Downloads/flag.html?m=Jo%C5%BEin+z+ba%C5%BEin.mp3
<yourColor>
is the HTML color name of your color orrgb(<r>,<g>,<b>)
for any custom color.
Example (Vltava, black background):
https://chaoticneutralczech.github.io/CzechFlagPlayer?m=https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2F0%2F08%2FBedrich_Smetana_-_ma_vlast_-_i._vltava_%2527the_moldau%2527.ogg&bg=black