Wednesday, July 24, 2019

HTML5 - video playsinline

I added "autoplay muted" to my <video> tag to make a video autoplay in a carousel. It worked on desktop Chrome or Firefox, but didn't work on iOS Chrome or Safari.

I learned about the "playsinline" fix from here:

Adding "playsinline" to my video tag fixed it.

Thursday, July 11, 2019

ESP32 Plant Sensor

I set up a ESP32 houseplant soil water + temperature + humidity + light sensor that sends me a daily status update message.

Wednesday, July 10, 2019

AWS - redirecting domain to url using a 302 redirect (without running a server)

I wanted to make a domain name ( redirect to a multisubreddit for dog pictures, but I didn't want to run a web server for it.

Here's what I did:
  1. Purchase the domain using Route53.
  2. Create two public s3 buckets ( and
  3. Enable "Static website hosting" on and redirect to
  4. Enable "Static website hosting" on, select "use this bucket to host this website", and use routing rules similar to this:
  5. Back to Route53 - Create an A record for both and using the alias to their respective buckets. (this will be the first option in autocomplete)
For more details:

Why not just use a CNAME from to AWS says they don't charge for aliases, but they do charge for CNAMEs. So, I used an alias to a bucket instead.