gfscott / eleventy-plugin-embed-everything

An Eleventy plugin to easily embed common media formats in posts, using only their URLs
https://gfscott.com/embed-everything/
MIT License
99 stars 6 forks source link

Bump lite-youtube-embed from 0.2.0 to 0.3.0 #201

Closed dependabot[bot] closed 12 months ago

dependabot[bot] commented 1 year ago

Bumps lite-youtube-embed from 0.2.0 to 0.3.0.

Release notes

Sourced from lite-youtube-embed's releases.

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: https://github.com/paulirish/lite-youtube-embed/compare/v0.2.0...v0.3.0

Commits
  • 3253a45 0.3.0
  • be6f03e Merge pull request #109 from paulirish/ytapi
  • 1f885c2 more specificity on the autoplay useragent checks
  • 1fa89dd no preventDefault needed with the new href removal
  • 185af94 Support Android user agent for YT JS API
  • f3b132e Merge branch 'master' into ytapi
  • 96cc2f1 Remove href from button to prevent possible navigation (#124)
  • 698f70a Update node and GitHub Actions versions (#126)
  • 32f4a55 Updated progressive enhancement example (#118)
  • e28e6b9 Rename now.json to vercel.json (#115)
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
changeset-bot[bot] commented 1 year ago

⚠️ No Changeset found

Latest commit: df5a20b049f5be0ece5d1dd864d184485f3db3bf

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

codecov[bot] commented 1 year ago

Codecov Report

All modified lines are covered by tests :white_check_mark:

Comparison is base (de4a4db) 100.00% compared to head (df5a20b) 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #201 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 6 6 Lines 96 96 ========================================= Hits 96 96 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

dependabot[bot] commented 12 months ago

Looks like lite-youtube-embed is up-to-date now, so this is no longer needed.