> Meanwhile, Google Tag Manager is regularly popping up on Government sites. This means not only that governments can study you in more depth - but also that Google gets to follow you into much more private spaces.
And I don't think that's a coincidence either. “Do not trust any statistics you did not fake yourself”, do not trust an LLM you did not train yourself.
Bunk. Nobody expects you to do unpaid work. Just don't make the game depend on the availability of your server, or other forms of planned obsolescence.
So you need a video HTML tag with all of these attributes:
<video
autoplay
muted
loop
webkit-playsinline
playsinline
sizes="100vw">
and the CSS:
.bg-video {
position: fixed;
z-index: -1;
inset: 0;
width: 100%; (don't set this to 100vw or you will have scrollbar issues)
height: 100%;
min-height: 100vh;
object-fit: cover;
object-position: center;
pointer-events: none;
}
The part I still need to do myself is provide multiple video sizes and show the one that's most suitable for the viewport.
Aren't there also browser APIs for location services? I imagine this functionality could be possible with a web app.
Edit: What I don't know is whether a web app running on iOS could do the equivalent of a push notification. Last I heard, WebKit's functionality is/was? limited here. That might be a reason to use a native app after all.
The tricky part here is receiving notifications in your proximity while the app is in the background. Native apps can request permission to track your location at all times, but I don't think that's an option for PWAs.
reply