Replace with public YouTube video embeds

This commit is contained in:
Michael Rose 2022-05-27 14:07:03 -04:00
parent de1e2b73a6
commit 955a19b955
2 changed files with 8 additions and 8 deletions

View File

@ -23,20 +23,20 @@ This post should display a **header with a responsive video**, if the theme supp
### YouTube
To embed the following YouTube video at url `https://www.youtube.com/watch?v=XsxDH4HcOWA` (long version) or `https://youtu.be/XsxDH4HcOWA` (short version) into a post or page's main content you'd use:
To embed the following YouTube video at url `https://www.youtube.com/watch?v=-PVofD2A9t8` (long version) or `https://youtu.be/-PVofD2A9t8` (short version) into a post or page's main content you'd use:
```liquid
{% raw %}{% include video id="XsxDH4HcOWA" provider="youtube" %}{% endraw %}
{% raw %}{% include video id="-PVofD2A9t8" provider="youtube" %}{% endraw %}
```
{% include video id="XsxDH4HcOWA" provider="youtube" %}
{% include video id="-PVofD2A9t8" provider="youtube" %}
To embed it as a video header you'd use the following YAML Front Matter
```yaml
header:
video:
id: XsxDH4HcOWA
id: -PVofD2A9t8
provider: youtube
```

View File

@ -23,20 +23,20 @@ This post should display a **header with a responsive video**, if the theme supp
### YouTube
To embed the following YouTube video at url `https://www.youtube.com/watch?v=XsxDH4HcOWA` (long version) or `https://youtu.be/XsxDH4HcOWA` (short version) into a post or page's main content you'd use:
To embed the following YouTube video at url `https://www.youtube.com/watch?v=-PVofD2A9t8` (long version) or `https://youtu.be/-PVofD2A9t8` (short version) into a post or page's main content you'd use:
```liquid
{% raw %}{% include video id="XsxDH4HcOWA" provider="youtube" %}{% endraw %}
{% raw %}{% include video id="-PVofD2A9t8" provider="youtube" %}{% endraw %}
```
{% include video id="XsxDH4HcOWA" provider="youtube" %}
{% include video id="-PVofD2A9t8" provider="youtube" %}
To embed it as a video header you'd use the following YAML Front Matter
```yaml
header:
video:
id: XsxDH4HcOWA
id: -PVofD2A9t8
provider: youtube
```