Skip to content

Releases: paulirish/lite-youtube-embed

v0.3.3

10 Aug 01:25
v0.3.3
023a7eb
Compare
Choose a tag to compare

What's Changed

v0.3.2

24 Apr 14:08
Compare
Choose a tag to compare

This release has no functional changes from v0.3.1 (which had a few changes)

The only change: As of v0.3.1, getPlayer() is now getYTPlayer(), but I missed updating two pieces of documentation for that. That's now addressed.

Full Changelog: v0.3.1...v0.3.2

v0.3.1

04 Mar 00:43
Compare
Choose a tag to compare

New features

Other changes

New Contributors

Full Changelog: v0.3.0...v0.3.1

v0.3.0

04 Oct 18:40
Compare
Choose a tag to compare

v0.3.0 is out published on npm! woohoo!

The double-tap bug (aka reliable autoplay)

lite-yt-embed now uses the YouTube Player API to force autoplay. (While as user wouldn't see this as "autoplay", we want the real youtube iframe to autoplay once the user clicks play.) While desktop browsers were reliably autoplaying, mobile wasn't. Chromium-based browsers on Android were flaky. This change (#109 and #90) resolves the double-tap bug for Android and iPhone (usually). Thanks @dantovbein for getting this started.

However, iPad almost always doesn't autoplay and needs the double-tap. iPhone sometimes needs it as well. WebKit on iOS's relationship with autoplay is a weird one and while I've done a lot of research, more work is required.

I've been putting off this release until I can fully resolve autoplay, but at this point it's past due to ship things, even if it's not "done". Apologies folks. (Of course if a contributor has the tenacity to finish off this effort before I do, I'd very much welcome it!).

Core improvements

  • Fix duplicate iframes being created (#97)
  • Actually use progressive enhancement with a link rather than button (#117)
  • remove version="1.1" from SVG (not needed) (#99)
  • remove poster image preload (#106)
  • Remove href from button to prevent possible navigation (#124)

Repo stuff

  • Add .editorconfig (#107)
  • Rename now.json to vercel.json (#115)
  • Updated progressive enhancement example (#118)
  • Update Lighthouse CI and Node (#98)
  • Update node and GitHub Actions versions (#126)
  • readme: Add kylemocode/react-lite-yt-embed (#71)
  • readme: add React component port (#83)

New Contributors

Full Changelog: v0.2.0...v0.3.0