Skip to content
Snippets Groups Projects
Commit 9fc9334a authored by Eric Bremner's avatar Eric Bremner
Browse files

Merge branch 'feature/ISTWCMS-3670-kpaxman-video_autoplay_mobile' into '1.1.x'

ISTWCMS-7197: add playsinline attribute to make video autoplay work on mobile

See merge request !238
parents c82813dd 6ee457f8
No related branches found
No related tags found
1 merge request!238ISTWCMS-7197: add playsinline attribute to make video autoplay work on mobile
......@@ -31,7 +31,7 @@
<div class="card__banner--media">
{% if image.type == "uw_para_local_video_banner" %}
<div id="{{ image.uuid }}" class="uw-video-wrapper {{ image.type }}">
<video id="video-{{ image.uuid }}" aria-label="video" muted="1" loop="1" class="video-{{ image.uuid }}" autoplay="1" poster="{{ image.img_element }}" width="100%">
<video id="video-{{ image.uuid }}" aria-label="video" muted="1" loop="1" class="video-{{ image.uuid }}" autoplay="1" playsinline="1" poster="{{ image.img_element }}" width="100%">
<source src="{{ image.video }}" type="video/mp4" />
Your browser does not support the video tag.
</video>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment