Skip to content

Commit 7bfb9bc

Browse files
committed
feat: added support for noembed
1 parent 80b7809 commit 7bfb9bc

7 files changed

Lines changed: 52 additions & 111 deletions

File tree

README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ General options and corresponding defaults
8484

8585
```js
8686
lazyframe(elements, {
87-
apikey: undefined,
8887
debounce: 250,
8988
lazyload: true,
9089
autoplay: true,
@@ -96,12 +95,6 @@ lazyframe(elements, {
9695
});
9796
```
9897

99-
### `apikey`
100-
101-
If you want to load a thumbnail and title for a YouTube video you'll have to have an API key with the YouTube data API library enabled. Get it from [here](https://console.developers.google.com/)
102-
103-
_If you don't feel like getting a key, just use your own thumbnail and title in data-thumbnail and data-title attribute_
104-
10598
### `debounce`
10699

107100
Value (in milliseconds) for when the update function should run after the user has scrolled. [More here](https://css-tricks.com/the-difference-between-throttling-and-debouncing/)

dist/lazyframe.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)