_layouts/feature.html in appscms-tools-theme-4.0.8 vs _layouts/feature.html in appscms-tools-theme-4.0.9
- old
+ new
@@ -297,21 +297,22 @@
%} {% for param in params %} {% if param contains "v=" %} {%
assign video_id = param | split: "=" | last %} {% endif %} {%
endfor %} {% endif %} {%- if site.monumetricId -%}
<iframe
class="youtubeVideoPlayer mb-5"
- width="400"
loading="lazy"
- height="315"
+ height="100%"
+ width="100%"
src="https://www.youtube.com/embed/{{video_id}}?autoplay=1&mute=1"
allowfullscreen
>
</iframe>
{%- else -%}
<iframe
+ height="100%"
+ width="100%"
+ loading="lazy"
class="youtubeVideoPlayer mb-5"
- width="500"
- height="315"
src="https://www.youtube.com/embed/{{video_id}}?autoplay=1&mute=1"
allowfullscreen
>
</iframe>
{%- endif -%}