diff options
| author | Jieiku | 2022-05-31 04:35:20 -0700 |
|---|---|---|
| committer | Jieiku | 2022-05-31 04:35:20 -0700 |
| commit | 17c9752e13e31987a4cf448eefc6eddce4cc074b (patch) | |
| tree | 5ca877d874818868135700170cf2858e59598718 /templates/shortcodes/yt.html | |
| parent | e42d2150a2095804c9af8363ebf7fc987d2f16a6 (diff) | |
| download | abridge-17c9752e13e31987a4cf448eefc6eddce4cc074b.tar.gz abridge-17c9752e13e31987a4cf448eefc6eddce4cc074b.tar.bz2 abridge-17c9752e13e31987a4cf448eefc6eddce4cc074b.zip | |
yt/vm shortcodes use CSS, Fix unsafe-inline style-src CSP
Diffstat (limited to 'templates/shortcodes/yt.html')
| -rw-r--r-- | templates/shortcodes/yt.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/shortcodes/yt.html b/templates/shortcodes/yt.html index 748f6ae..9fb99dd 100644 --- a/templates/shortcodes/yt.html +++ b/templates/shortcodes/yt.html @@ -1,3 +1,3 @@ -<div{% if class %} class="{{class}}"{% endif %} style="position:relative;padding-bottom:56.25%;height:0;overflow:hidden;"> - <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') }}" style="position:absolute;top:0;left:0;" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe> +<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> |
