Replace with public YouTube video embeds
This commit is contained in:
parent
de1e2b73a6
commit
955a19b955
2 changed files with 8 additions and 8 deletions
|
@ -23,20 +23,20 @@ This post should display a **header with a responsive video**, if the theme supp
|
||||||
|
|
||||||
### YouTube
|
### 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
|
```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
|
To embed it as a video header you'd use the following YAML Front Matter
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
header:
|
header:
|
||||||
video:
|
video:
|
||||||
id: XsxDH4HcOWA
|
id: -PVofD2A9t8
|
||||||
provider: youtube
|
provider: youtube
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -23,20 +23,20 @@ This post should display a **header with a responsive video**, if the theme supp
|
||||||
|
|
||||||
### YouTube
|
### 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
|
```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
|
To embed it as a video header you'd use the following YAML Front Matter
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
header:
|
header:
|
||||||
video:
|
video:
|
||||||
id: XsxDH4HcOWA
|
id: -PVofD2A9t8
|
||||||
provider: youtube
|
provider: youtube
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue