diff options
| author | Jieiku | 2023-05-22 23:09:27 -0700 |
|---|---|---|
| committer | Jieiku | 2023-05-22 23:09:27 -0700 |
| commit | 9543caf10ffdbcc2cea462a8bcb64cee29d406d5 (patch) | |
| tree | e82f984f8b5649336016d62607dcf2b5292f0ee1 /templates/shortcodes/youtube.html | |
| parent | d9fb3248650404ad6d078eba39b8b91381b1ebed (diff) | |
| download | abridge-9543caf10ffdbcc2cea462a8bcb64cee29d406d5.tar.gz abridge-9543caf10ffdbcc2cea462a8bcb64cee29d406d5.tar.bz2 abridge-9543caf10ffdbcc2cea462a8bcb64cee29d406d5.zip | |
Syntax Highlighting Variables
Diffstat (limited to 'templates/shortcodes/youtube.html')
| -rw-r--r-- | templates/shortcodes/youtube.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/shortcodes/youtube.html b/templates/shortcodes/youtube.html new file mode 100644 index 0000000..d07b91b --- /dev/null +++ b/templates/shortcodes/youtube.html @@ -0,0 +1,3 @@ +<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> +</div> |
