DEV Community

hammi profile picture

hammi

404 bio not found

Joined Joined on  Personal website https://rkmovies.pages.dev/
The runtime memory budget of my 1.17 MB player: keeping playback under 15 MB RAM

The runtime memory budget of my 1.17 MB player: keeping playback under 15 MB RAM

1
Comments 2
3 min read

Want to connect with hammi?

Create an account to connect with hammi. You can also sign in below to proceed if you already have an account.

Already have an account? Sign in
My 1.17 MB player now listens to the battery: thermal-aware decode + a metered-data mode

My 1.17 MB player now listens to the battery: thermal-aware decode + a metered-data mode

1
Comments 3
2 min read
Why my 1.17 MB player opens in under 400 ms cold: zero content providers, lazy init, and a startup window that only draws a color

Why my 1.17 MB player opens in under 400 ms cold: zero content providers, lazy init, and a startup window that only draws a color

1
Comments 3
2 min read
I swapped audio tracks mid-movie without a rebuffer. Here is how my 1.17 MB player does it

I swapped audio tracks mid-movie without a rebuffer. Here is how my 1.17 MB player does it

1
Comments 3
2 min read
Audio focus is the feature nobody demos (and every player needs)

Audio focus is the feature nobody demos (and every player needs)

1
Comments 5
2 min read
Dual-zone gesture HUD on a canvas: brightness, volume, seek with zero DOM (and zero battery tax)

Dual-zone gesture HUD on a canvas: brightness, volume, seek with zero DOM (and zero battery tax)

1
Comments 5
2 min read
i dissected my own 1.17 mb apk: where every byte actually goes

i dissected my own 1.17 mb apk: where every byte actually goes

1
Comments 5
2 min read
i added a vast ad gate to my 1.17 mb player and the ad network only talks to mobile user agents

i added a vast ad gate to my 1.17 mb player and the ad network only talks to mobile user agents

1
Comments 5
2 min read
why i skipped exoplayer and bet on the system mediaplayer for a 1.17 mb player

why i skipped exoplayer and bet on the system mediaplayer for a 1.17 mb player

1
Comments 5
2 min read
Why my PWA still ships a 29.5 MB Windows exe (WebView2 bootstrap, offline cache, one instance)

Why my PWA still ships a 29.5 MB Windows exe (WebView2 bootstrap, offline cache, one instance)

1
Comments 7
2 min read
My 1.17 MB player's catalog grid: the channelId trap, overlapping pages, and a cursor echo

My 1.17 MB player's catalog grid: the channelId trap, overlapping pages, and a cursor echo

1
Comments 7
2 min read
How my 1.17 MB PWA updates itself without an app store (7-endpoint config fan-out + a strict service worker)

How my 1.17 MB PWA updates itself without an app store (7-endpoint config fan-out + a strict service worker)

1
Comments 16
2 min read
SRT is not WebVTT: shipping a subtitle converter in a 1.17 MB player

SRT is not WebVTT: shipping a subtitle converter in a 1.17 MB player

1
Comments 11
2 min read
Dead stream mid-episode? My 1.17 MB player just falls down the quality list

Dead stream mid-episode? My 1.17 MB player just falls down the quality list

2
Comments 12
2 min read
The 12-second 'up next' countdown in my 1.17 MB player: auto-advance without the annoyance

The 12-second 'up next' countdown in my 1.17 MB player: auto-advance without the annoyance

2
Comments 7
2 min read
how i got real picture-in-picture in a 1.17 mb webview player without shipping a native lib

how i got real picture-in-picture in a 1.17 mb webview player without shipping a native lib

2
Comments 9
2 min read
artplayer v5 re-parented my fullscreen node and moved my controls on phones

artplayer v5 re-parented my fullscreen node and moved my controls on phones

1
Comments
2 min read
Parsing SRT subtitles in the browser: the 30-line converter that makes every WebVTT player happy

Parsing SRT subtitles in the browser: the 30-line converter that makes every WebVTT player happy

Comments
2 min read
our windows build ships no browser: how a ~31 mb launcher gets free nvdec/quicksync 4k decode

our windows build ships no browser: how a ~31 mb launcher gets free nvdec/quicksync 4k decode

1
Comments
2 min read
Shipping multi-audio dubs in a 0.91 MB player without adding a single dependency

Shipping multi-audio dubs in a 0.91 MB player without adding a single dependency

1
Comments
2 min read
My auto-hide controls kept flickering in ArtPlayer v5: the dual-timer fight and the 1.5s immunity fix

My auto-hide controls kept flickering in ArtPlayer v5: the dual-timer fight and the 1.5s immunity fix

1
Comments
2 min read
I fake screen brightness with a CSS filter, and only use the real API when the shell allows it

I fake screen brightness with a CSS filter, and only use the real API when the shell allows it

Comments
3 min read
I shipped a 0.91 MB PWA that refuses to serve stale code: the service worker setup behind RKMovies

I shipped a 0.91 MB PWA that refuses to serve stale code: the service worker setup behind RKMovies

Comments
2 min read
how i made resume-anywhere work without a single account (indexeddb key design)

how i made resume-anywhere work without a single account (indexeddb key design)

Comments
2 min read
how my player picks video quality without a streaming engine

how my player picks video quality without a streaming engine

Comments
3 min read
I wrote an SRT-to-WebVTT converter in ~35 lines because players lie about subtitle support

I wrote an SRT-to-WebVTT converter in ~35 lines because players lie about subtitle support

Comments
2 min read
I built a two-zone gesture HUD on a raw canvas. here is the hit-test math

I built a two-zone gesture HUD on a raw canvas. here is the hit-test math

Comments
2 min read
The Hidden Data Cost of Free Ad-Supported Video Players

The Hidden Data Cost of Free Ad-Supported Video Players

Comments
3 min read
How I Kept a 4K Media Client Under 1 MB (When Every Player App Weighs 100 MB+)

How I Kept a 4K Media Client Under 1 MB (When Every Player App Weighs 100 MB+)

1
Comments 1
3 min read
loading...