[Snyk] Upgrade lite-youtube-embed from 0.2.0 to 0.3.3 #8
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade lite-youtube-embed from 0.2.0 to 0.3.3.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 4 versions ahead of your current version.
The recommended version was released on 21 days ago.
Release notes
Package name: lite-youtube-embed
What's Changed
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 nowgetYTPlayer()
, but I missed updating two pieces of documentation for that. That's now addressed.Full Changelog: v0.3.1...v0.3.2
New features
js-api
attribute to opt-in to the YouTube Iframe Player API by @ zachleat in #164const player = await lytElem.getPlayer();
Other changes
linear-gradient
by @ paulirish in #166border:none
toborder:0
by @ davidsneighbour in #142@ next/third-parties
React wrapper by @ karlhorky in #154New Contributors
Full Changelog: v0.3.0...v0.3.1
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
href
from button to prevent possible navigation (#124)Repo stuff
.editorconfig
(#107)now.json
tovercel.json
(#115)New Contributors
Full Changelog: v0.2.0...v0.3.0
0.2.0
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:![](https://camo.githubusercontent.com/c65878cb177276f92fe61a683ce12f21a07fefeda2c62583973078fe169cb9cf/68747470733a2f2f6170692e7365676d656e742e696f2f76312f706978656c2f747261636b3f646174613d65794a33636d6c305a55746c65534936496e4a79576d785a634564485932527954485a7362306c596430645563566734576b4652546e4e434f5545774969776959573576626e6c746233567a535751694f694a6c4d54686d4e5745795a53307a4d4442684c5451324d545974596d46695953316d5a444e684e44466d4f444e695a474d694c434a6c646d567564434936496c425349485a705a58646c5a434973496e42796233426c636e52705a584d694f6e736963484a4a5a434936496d55784f47593159544a6c4c544d774d4745744e4459784e69316959574a684c575a6b4d3245304d5759344d324a6b59794a3966513d3d)