by achairapart · 5y ago · 0 comments
For example, on many browsers (Chrome and Safari at least) if you put a video on loop, with certain sizes, the internal logic makes it re-download the same video ignoring any server cache headers. That's it, if you leave a browser open with the same video in loop, it will suck your bandwidth forever.
I think the same happens if you seek through video playback.
To avoid this you need to put in some javascript that preload the whole video and make it a blob, or something similar.
https://www.avvo.com/legal-guides/ugc/copyright-101-is-strea...
Especially for mobile devices with fairly small storage sizes, this can easily represent a sizable fraction of their total write endurance.
And just you don't need to limit all devices by the lowest common denominator either.
Funny you mention that, google / youtube does the same thing to jank'ify its own user metrics on my laptop, regardless of whether it's a 5 minute video or a 3 hour video (by auto-playing the next one). Even if the laptop is asleep.