updated contrib modules
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@
|
||||
<div class="audiofield">
|
||||
<div id="{{ settings.id }}" class="audiofield-audiojs-frame">
|
||||
<div class="audiofield-audiojs">
|
||||
<audio preload="auto" {% if settings.audio_player_autoplay == 1 %} autoplay="autoplay" {% endif %}></audio>
|
||||
<audio preload="{% if settings.audio_player_lazyload == 1 %}none{% else %}auto{% endif %}" {% if settings.audio_player_autoplay == 1 %} autoplay="autoplay" {% endif %}></audio>
|
||||
<div class="play-pauseZ">
|
||||
<p class="playZ"></p>
|
||||
<p class="pauseZ"></p>
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@
|
||||
<div class="audiofield">
|
||||
{% for file in files %}
|
||||
<div class="mediaelementaudio_frame">
|
||||
<audio id="mediaelement_player_{{ file.id }}" {% if settings.audio_player_autoplay == 1 %} autoplay="autoplay" {% endif %} controls>
|
||||
<audio id="mediaelement_player_{{ file.id }}" preload="{% if settings.audio_player_lazyload == 1 %}none{% else %}auto{% endif %}" {% if settings.audio_player_autoplay == 1 %} autoplay="autoplay" {% endif %} controls>
|
||||
<source src="{{ file.url }}">
|
||||
Your browser does not support the audio element.
|
||||
</audio>
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
#}
|
||||
<div class="audiofield">
|
||||
{% for file in files %}
|
||||
<audio id="{{ file.id }}" class="audiofield-{{ plugin_id }} {{ plugin_id }}" controls>
|
||||
<audio id="{{ file.id }}" preload="{% if settings.audio_player_lazyload == 1 %}none{% else %}auto{% endif %}" class="audiofield-{{ plugin_id }} {{ plugin_id }}" controls>
|
||||
<source src="{{ file.url }}" type="audio/mpeg">
|
||||
Your browser does not support the audio element.
|
||||
</audio>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
#}
|
||||
<div class="audiofield">
|
||||
{% for file in files %}
|
||||
<audio controls {% if settings.audio_player_autoplay == 1 %} autoplay {% endif %}>
|
||||
<audio preload="{% if settings.audio_player_lazyload == 1 %}none{% else %}auto{% endif %}" controls {% if settings.audio_player_autoplay == 1 %} autoplay {% endif %} {% if settings.download_button != 1 %} controlsList="nodownload" {% endif %}>
|
||||
<source src="{{ file.url }}" type="audio/mpeg">
|
||||
Your browser does not support the audio element.
|
||||
</audio>
|
||||
|
||||
Reference in New Issue
Block a user