I already built a mount for my Raspberry Pi camera, but it was 3d printed. Meaning that it has one fixed position. I used it a couple of times, but I wasn’t super satisfied. Then I stumbled on these images, and thought it was a great idea to use Lego to build a new, more versatile mount.
A friend of mine had a bunch of spare Legos laying around, so he gave me two bags full of Legos to play around. I wasn’t sure where to start, especially because I wanted to make both height and rotation adjustable. After fiddling with the blocks for about an hour, I came up with this:
For multiple projects, I had to add a simple video component with Always include at least basic video controls for accessibility and a buffering loader. It is not hard to detect the buffering state, but it can be tricky to get everything right.
Therefore, I created a simple component which I now copy from project to project with slight style adjustments. Jump to the code if you are not interested in how it’s made.
It is funny, I would never say I would be sad to deprecate a software project. Especially a project boilerplate. But I just merged the deprecation notice, and I do feel down a little.
Mobile iOS Safari doesn’t display preview thumbnail until you tap on the video. My go-to solution was to define a
poster attribute and move on. But today I learned I could use something called Media Fragments.
Media Fragments specify a way of sharing parts of audio and video files by simply adding url params. Browser support varies, but fortunately support for what we need is pretty good.