Update dependency lite-youtube-embed to v0.3.0 #76

Merged
jake merged 1 commits from renovate/lite-youtube-embed-0.x into master 2023-10-06 08:48:57 +01:00
Collaborator

This PR contains the following updates:

Package Type Update Change
lite-youtube-embed dependencies minor 0.2.0 -> 0.3.0

Release Notes

paulirish/lite-youtube-embed (lite-youtube-embed)

v0.3.0

Compare Source

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


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [lite-youtube-embed](https://github.com/paulirish/lite-youtube-embed) | dependencies | minor | [`0.2.0` -> `0.3.0`](https://renovatebot.com/diffs/npm/lite-youtube-embed/0.2.0/0.3.0) | --- ### Release Notes <details> <summary>paulirish/lite-youtube-embed (lite-youtube-embed)</summary> ### [`v0.3.0`](https://github.com/paulirish/lite-youtube-embed/releases/tag/v0.3.0) [Compare Source](https://github.com/paulirish/lite-youtube-embed/compare/v0.2.0...v0.3.0) v0.3.0 is out [published](https://www.npmjs.com/package/lite-youtube-embed) on npm! woohoo! #### The double-tap bug (aka reliable autoplay) lite-yt-embed now uses the [YouTube Player API](https://developers.google.com/youtube/iframe_api_reference) 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 ([#&#8203;109](https://github.com/paulirish/lite-youtube-embed/issues/109) and [#&#8203;90](https://github.com/paulirish/lite-youtube-embed/issues/90)) resolves the double-tap bug for Android and iPhone (usually). Thanks [@&#8203;dantovbein](https://github.com/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](https://github.com/paulirish/lite-youtube-embed/compare/master...ios), 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 ([#&#8203;97](https://github.com/paulirish/lite-youtube-embed/issues/97)) - Actually use progressive enhancement with a link rather than button ([#&#8203;117](https://github.com/paulirish/lite-youtube-embed/issues/117)) - remove version="1.1" from SVG (not needed) ([#&#8203;99](https://github.com/paulirish/lite-youtube-embed/issues/99)) - remove poster image preload ([#&#8203;106](https://github.com/paulirish/lite-youtube-embed/issues/106)) - Remove `href` from button to prevent possible navigation ([#&#8203;124](https://github.com/paulirish/lite-youtube-embed/issues/124)) #### Repo stuff - Add `.editorconfig` ([#&#8203;107](https://github.com/paulirish/lite-youtube-embed/issues/107)) - Rename `now.json` to `vercel.json` ([#&#8203;115](https://github.com/paulirish/lite-youtube-embed/issues/115)) - Updated progressive enhancement example ([#&#8203;118](https://github.com/paulirish/lite-youtube-embed/issues/118)) - Update Lighthouse CI and Node ([#&#8203;98](https://github.com/paulirish/lite-youtube-embed/issues/98)) - Update node and GitHub Actions versions ([#&#8203;126](https://github.com/paulirish/lite-youtube-embed/issues/126)) - readme: Add kylemocode/react-lite-yt-embed ([#&#8203;71](https://github.com/paulirish/lite-youtube-embed/issues/71)) - readme: add React component port ([#&#8203;83](https://github.com/paulirish/lite-youtube-embed/issues/83)) #### New Contributors - [@&#8203;coliff](https://github.com/paulirish/lite-youtube-embed/pull/99), [@&#8203;codepuncher](https://github.com/paulirish/lite-youtube-embed/pull/97), [@&#8203;karlhorky](https://github.com/paulirish/lite-youtube-embed/pull/71), [@&#8203;ibrahimcesar](https://github.com/paulirish/lite-youtube-embed/pull/83), [@&#8203;aarongustafson](https://github.com/paulirish/lite-youtube-embed/pull/117), [@&#8203;leerob](https://github.com/paulirish/lite-youtube-embed/pull/115), [@&#8203;delucis](https://github.com/paulirish/lite-youtube-embed/pull/124), \[[@&#8203;dantovbein](https://github.com/dantovbein)]\(https://github.com/paulirish/lite-youtube-embed/pull/90 **Full Changelog**: https://github.com/paulirish/lite-youtube-embed/compare/v0.2.0...v0.3.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yLjAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4yLjAiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIifQ==-->
renovate added 1 commit 2023-10-04 20:01:42 +01:00
jake merged commit e2591be976 into master 2023-10-06 08:48:57 +01:00
jake deleted branch renovate/lite-youtube-embed-0.x 2023-10-06 08:48:57 +01:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: repos/website#76
No description provided.