Commit a1ee7143 authored by Ossi Laine's avatar Ossi Laine
Browse files

Set autoplay to aduio elements

parent c6c84816
......@@ -38,7 +38,7 @@
<div class="col-{{stimulus_size}} container stimulus mt-5 pt-5">
{% for page in pages.items %}
<div class="embed-responsive embed-responsive-16by9">
<audio class="embed-responsive-item" controls>
<audio class="embed-responsive-item" controls autoplay>
<source src="/{{ page.media }}">
Your browser does not support the audio element.
</audio>
......@@ -83,7 +83,7 @@
<div class="col-{{stimulus_size}} container stimulus mt-5 pt-5">
{% for page in pages.items %}
<div class="embed-responsive embed-responsive-16by9">
<audio class="embed-responsive-item" controls>
<audio class="embed-responsive-item" controls autoplay>
<source src="/{{ randomized_stimulus.media }}">
Your browser does not support the audio element.
</audio>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment