Skip to content

Commit

Permalink
Replace with public YouTube video embeds
Browse files Browse the repository at this point in the history
  • Loading branch information
mmistakes committed May 27, 2022
1 parent de1e2b7 commit 955a19b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions docs/_posts/2017-01-23-layout-header-video.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down
8 changes: 4 additions & 4 deletions test/_posts/2017-01-23-layout-header-video.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down

0 comments on commit 955a19b

Please sign in to comment.