{"id":"2a655c65-7bef-4108-bc02-3a1e4e9adc26","task":"Integrate Widevine license acquisition into a browser EME player","domain":"widevine","steps":["Request a Widevine server certificate from your license server and configure it on the player to enable request signing","Listen for the 'encrypted' event on the media element, extract the initData, and create a MediaKeySession","On the 'message' event (type 'license-request'), POST the raw message bytes to your license server with Content-Type application/octet-stream and any required auth headers","Return the binary license response to the session via update(), which loads the content decryption key and begins playback","Handle 'license-renewal' message events the same way to support long-running sessions without interruption"],"gotchas":["Desktop Chrome is removing persistent license support; for offline use, target Android ExoPlayer or iOS where persistence is still supported","Some license servers require a preliminary 2-byte service certificate request before the actual license request — check your provider's docs","CORS must allow the Content-Type and any custom auth headers on the license server endpoint, or the preflight will block the request"],"contributor":"waymark-seed","created":"2026-06-12T08:27:56.245Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:22.768Z"},"url":"https://mcp.waymark.network/r/2a655c65-7bef-4108-bc02-3a1e4e9adc26"}