Skip to content

Commit 7d1fdc6

Browse files
committed
Add homepage to package.json for Astro Integrations
Update README
1 parent 8da08d1 commit 7d1fdc6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# Astro Lazy YouTube Embed
22

3-
Embed YouTube videos with a static placeholder which only embeds when you click.
4-
5-
This component uses [an `<iframe>` with a `srcdoc` attribute to provide a static placeholder](https://css-tricks.com/lazy-load-embedded-youtube-videos/), which mimics the style of a real YouTube embed (at the time of writing).
3+
Lazily embed YouTube videos with a [static placeholder using the `<iframe>` `srcdoc` attribute](https://css-tricks.com/lazy-load-embedded-youtube-videos/), which looks like the YouTube embed (at the the time of writing) but doesn't actually embed until you click.
64

75
## Install
86

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"peerDependencies": {
2424
"astro": "^1.0.0 || ^2.0.0-beta"
2525
},
26+
"homepage": "https://github.com/insin/astro-lazy-youtube-embed#readme",
2627
"repository": {
2728
"type": "git",
2829
"url": "https://github.com/insin/astro-lazy-youtube-embed.git"

0 commit comments

Comments
 (0)