-
-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9bec0c9
commit dc569a3
Showing
3 changed files
with
21 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,7 +42,7 @@ import '@justinribeiro/lite-youtube'; | |
If you want the paste-and-go version, you can simply load it via CDN: | ||
|
||
```html | ||
<script type="module" src="https://cdn.jsdelivr.net/npm/@justinribeiro/[email protected]/lite-youtube.js"> | ||
<script type="module" src="https://cdn.jsdelivr.net/npm/@justinribeiro/[email protected]/lite-youtube.js"></script> | ||
``` | ||
|
||
## Basic Usage | ||
|
@@ -122,5 +122,6 @@ flexibility. | |
| `videotitle` | The title of the video | `Video` | | ||
| `videoplay` | The title of the play button (for translation) | `Play` | | ||
| `videoStartAt` | Set the point at which the video should start, in seconds | `0` | | ||
| `posterquality`| Set thumbnail poster quality (maxresdefault, sddefault, mqdefault, hqdefault) | `hqdefault` | | ||
| `autoload` | Use Intersection Observer to load iframe when scrolled into view | `false` | | ||
| `params` | Set YouTube query parameters | `` | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters