Skip to content
Snippets Groups Projects
Commit 6ee457f8 authored by Kevin Paxman's avatar Kevin Paxman
Browse files

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

parent c82813dd
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