diff options
Diffstat (limited to 'templates/components/youtube.html')
| -rw-r--r-- | templates/components/youtube.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/components/youtube.html b/templates/components/youtube.html index 1022825..7b09b39 100644 --- a/templates/components/youtube.html +++ b/templates/components/youtube.html @@ -1,5 +1,5 @@ {% component youtube(id, class="", title="", playlist="", autoplay=false, cookie=false) %} <div class="yv{% if class %} {{class}}{% endif %}"> - <iframe src="https://www.youtube{% if not cookie %}-nocookie{% endif %}.com/embed/{{id}}{% if playlist %}?list={{playlist}}{% endif %}{% if autoplay %}?autoplay=1{% endif %}" title="{{title | default(value='Youtube') }}" class="yvi" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe> + <iframe src="https://www.youtube{% if not cookie %}-nocookie{% endif %}.com/embed/{{id}}{% if playlist %}?list={{playlist}}{% endif %}{% if autoplay %}?autoplay=1{% endif %}" title="{{ title if title else 'Youtube' }}" class="yvi" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe> </div> {% endcomponent youtube %} |
