August 2022

New video page

Friday, August 5, 2022 at 7:07 PM

I just modified all my video pages so that instead of linking directly to the .mp4 file, they link to a /.video/ URL which is an HTML page with a <video> tag in it.

It also supports subtitles.

I applied the change to all of my websites.

Safari macOS autoplay

Saturday, August 6, 2022 at 1:28 PM

Since I added the new video page, videos no longer autoplayed, even after adding the autoplay attribute to the <video> tag.

In the settings, I was able to enable autoplay for all of my websites.

This morning, I also fixed a bug where videos with a question mark in the name would not play at all.

Turns out, apache parses the question mark in the PATH_INFO and interprets it as a query string.
(In the URL, it is "%3F", but once it goes through apache it becomes "?". RewriteRule then interprets it as the query string separator.)

Dishwasher

Sunday, August 14, 2022 at 2:34 PM

Me and my dad just finished hooking up the dishwasher at my mom's office.