unstale

npm / react-lite-youtube-embed

react-lite-youtube-embed

What changed in react-lite-youtube-embed 2 to 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-19.

2 security5 new APIs and options2 performance11 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.0 on npm

react-lite-youtube-embed 318 changes

Security 2

  • Going forward, releases include cryptographic provenance attestation that developers can verify with npm audit signatures.

    3.6.0release notes

  • Adds SLSA Build Level 3 provenance for supply chain security.

    3.0.6release notes

New APIs and options 4

  • Adds a prop to hide the play button after activation.

    3.4.0release notes

  • Playback rate and quality change events are implemented, allowing developers to respond to those changes.

    3.3.0release notes

  • Exports the imgResolution type for improved TypeScript DX.

    3.0.0release notes

  • Adds player events for future support.

    3.0.0release notes

Performance 1

Fixes and other changes 11

  • The iframe now loads immediately on mount when autoplay is enabled, so YouTube's autoplay=1 parameter is respected. Browsers still require muted for unmuted autoplay.

    3.6.0release notes

  • The TypeScript type now accepts both string and Record<string, string | number>, matching the documented API.

    3.6.0release notes

  • Removes the redundant img role when lazyLoad is enabled.

    3.4.0release notes

  • Fixes playlist icon visibility on mobile.

    3.3.2release notes

  • Resolves a Vitest peer dependency conflict.

    3.3.2release notes

  • Fixes a null reference error involving React hooks.

    3.3.0release notes

  • Fixes an initialization timing issue with the YouTube API.

    3.2.0release notes

  • Player event listening reliability was improved with retry logic.

    3.2.0release notes

  • Adds an onClick handler to the button to resolve the mobile double-click issue.

    3.0.0release notes

  • Updates the play button to match official YouTube styling.

    3.0.0release notes

  • Resolves the black margin issue on the iframe in Safari.

    3.0.0release notes

react-lite-youtube-embed 22 changes

New APIs and options 1

  • Adds JSON-LD structured data and noscript fallbacks for SEO.

    2.6.0release notes

Performance 1