980 B
980 B
title | header | categories | tags | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Layout: Header Video |
|
|
|
This post should display a header with a reponsive video, if the theme supports it.
Settings
|---
| Parameter | Required | Description |
|-|-
| id
| Required | ID of the video
| provider
| Required | Hosting provider of the video, either 'youtube' or 'vimeo'
|---
YouTube
Here is a YouTube example for the video at url https://www.youtube.com/watch?v=XsxDH4HcOWA
(long version) or https://youtu.be/XsxDH4HcOWA
(short version):
header:
video:
id: XsxDH4HcOWA
provider: youtube
{% include responsive_video id="XsxDH4HcOWA" provider="youtube" %}
Vimeo
Here is a Vimeo example for the video at url https://vimeo.com/97649261
:
header:
video:
id: 97649261
provider: vimeo
{% include responsive_video id="97649261" provider="vimeo" %}