2024-03-24 21:26:18 +01:00
|
|
|
<% if $Video || $Image || $VideoFile %>
|
2022-07-08 19:19:50 +02:00
|
|
|
<% if $VideoFile %>
|
2024-04-22 13:33:25 +02:00
|
|
|
<video preload="none" autoplay muted loop playsinline>
|
2022-07-08 19:19:50 +02:00
|
|
|
<source src="{$VideoFile.Link}" type="video/mp4" />
|
|
|
|
Your browser does not support the video tag.
|
|
|
|
</video>
|
|
|
|
<% else_if $Video %>
|
2021-06-19 20:13:41 +02:00
|
|
|
<div class="video">
|
|
|
|
$Video.EmbedHTML.RAW
|
|
|
|
</div>
|
|
|
|
<% else %>
|
|
|
|
<% if $Image || $ImageURL %>
|
|
|
|
<span class="img">
|
2023-08-04 18:09:44 +02:00
|
|
|
<img class="glide__img"
|
2024-01-26 13:11:58 +01:00
|
|
|
loading="lazy"
|
|
|
|
src="<% if $ImageURL %>$ImageURL<% else %>$Image.FocusFill($SlideWidth,$SlideHeight).URL<% end_if %>"
|
2021-06-19 20:13:41 +02:00
|
|
|
alt="<% if $Headline %>$Headline.XML<% end_if %>"
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<% end_if %>
|
|
|
|
|
|
|
|
<% if $SlideLinkID %>
|
|
|
|
<% with $SlideLink %>
|
|
|
|
<% include NavItem_link MenuTitle=$Title, Link=$LinkURL, LinkClass="stretched-link slide-link slide-link__media" %>
|
|
|
|
<% end_with %>
|
|
|
|
<% else_if $SlideLinkURL %>
|
|
|
|
<% include NavItem_link MenuTitle=$Headline, Link=$SlideLinkURL, LinkClass="stretched-link slide-link slide-link__media" %>
|
|
|
|
<% end_if %>
|
|
|
|
|
|
|
|
<% end_if %>
|
|
|
|
<% end_if %>
|