tobogganSe connecter

library

Prebuilt pebble components: drop-in custom elements, no compiler needed

Clone avec HTTPS, un jeton personnel en mot de passe, ou avec SSH, une clé ajoutée dans vos paramètres.

Dernier runAucun
0Étoiles
0Forks
2Issues

lite-youtube 0.1.0: <pebble-lite-youtube>, a poster link that becomes the YouTube player

The server's link (to youtube.com, around the page's own poster) is the
no-JS path, and nothing is requested from YouTube before activation: no
script, no thumbnail, no preconnect. A click, tap or Enter replaces the
content with the youtube-nocookie.com embed (autoplay, playsinline;
allow autoplay, encrypted-media, picture-in-picture; allowfullscreen;
titled by the host's title, else the poster's alt) and moves focus into
it. The iframe sends strict-origin-when-cross-origin as its referrer
policy: YouTube's embed refuses to play without the embedding origin.
A modified click, or a video that is not an 11-character id, is left to
the link. The box is 16:9 (aspect-ratio) before and after.

The happy-dom suite turns iframe loading off, so it never reaches
YouTube; the smoke checks by host that no request went there.

5049 B gz (Δ floor 1029), budget 5800.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

olivier · il y a 1 sem. · 10e3e31700d023396d2ee93b5feb4cbeb7aa82ef

Parents b6d09d1

13 fichiers modifiés, 399 ajouts, 1 suppressions