# What changed in react-lite-youtube-embed

> 20 changes in react-lite-youtube-embed 2 to 3 from its official release notes, upgrade guides and advisories: 2 security, 5 new APIs and options. Each one cited. Sources checked 2026-10-19. HTML: https://unstale.sh/npm/react-lite-youtube-embed/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## react-lite-youtube-embed 3

### Security

- Going forward, releases include cryptographic provenance attestation that developers can verify with npm audit signatures. (3.6.0) — [release notes](https://github.com/ibrahimcesar/react-lite-youtube-embed/releases/tag/v3.6.0)
- Adds SLSA Build Level 3 provenance for supply chain security. (3.0.6) — [release notes](https://github.com/ibrahimcesar/react-lite-youtube-embed/releases/tag/v3.0.6)

### New APIs and options

- Adds a prop to hide the play button after activation. (3.4.0) — [release notes](https://github.com/ibrahimcesar/react-lite-youtube-embed/releases/tag/v3.4.0)
- Playback rate and quality change events are implemented, allowing developers to respond to those changes. (3.3.0) — [release notes](https://github.com/ibrahimcesar/react-lite-youtube-embed/releases/tag/v3.3.0)
- Exports the imgResolution type for improved TypeScript DX. (3.0.0) — [release notes](https://github.com/ibrahimcesar/react-lite-youtube-embed/releases/tag/v3.0.0)
- Adds player events for future support. (3.0.0) — [release notes](https://github.com/ibrahimcesar/react-lite-youtube-embed/releases/tag/v3.0.0)

### Performance

- Improves application performance. (3.0.0) — [release notes](https://github.com/ibrahimcesar/react-lite-youtube-embed/releases/tag/v3.0.0)

### Fixes and other changes

- 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.0) — [release notes](https://github.com/ibrahimcesar/react-lite-youtube-embed/releases/tag/v3.6.0)
- The TypeScript type now accepts both string and Record<string, string | number>, matching the documented API. (3.6.0) — [release notes](https://github.com/ibrahimcesar/react-lite-youtube-embed/releases/tag/v3.6.0)
- Removes the redundant img role when lazyLoad is enabled. (3.4.0) — [release notes](https://github.com/ibrahimcesar/react-lite-youtube-embed/releases/tag/v3.4.0)
- Fixes playlist icon visibility on mobile. (3.3.2) — [release notes](https://github.com/ibrahimcesar/react-lite-youtube-embed/releases/tag/v3.3.2)
- Resolves a Vitest peer dependency conflict. (3.3.2) — [release notes](https://github.com/ibrahimcesar/react-lite-youtube-embed/releases/tag/v3.3.2)
- Fixes a null reference error involving React hooks. (3.3.0) — [release notes](https://github.com/ibrahimcesar/react-lite-youtube-embed/releases/tag/v3.3.0)
- Fixes an initialization timing issue with the YouTube API. (3.2.0) — [release notes](https://github.com/ibrahimcesar/react-lite-youtube-embed/releases/tag/v3.2.0)
- Player event listening reliability was improved with retry logic. (3.2.0) — [release notes](https://github.com/ibrahimcesar/react-lite-youtube-embed/releases/tag/v3.2.0)
- Adds an onClick handler to the button to resolve the mobile double-click issue. (3.0.0) — [release notes](https://github.com/ibrahimcesar/react-lite-youtube-embed/releases/tag/v3.0.0)
- Updates the play button to match official YouTube styling. (3.0.0) — [release notes](https://github.com/ibrahimcesar/react-lite-youtube-embed/releases/tag/v3.0.0)
- Resolves the black margin issue on the iframe in Safari. (3.0.0) — [release notes](https://github.com/ibrahimcesar/react-lite-youtube-embed/releases/tag/v3.0.0)

## react-lite-youtube-embed 2

### New APIs and options

- Adds JSON-LD structured data and noscript fallbacks for SEO. (2.6.0) — [release notes](https://github.com/ibrahimcesar/react-lite-youtube-embed/releases/tag/v2.6.0)

### Performance

- Thumbnail images support lazy loading. (2.6.0) — [release notes](https://github.com/ibrahimcesar/react-lite-youtube-embed/releases/tag/v2.6.0)
