saut Drupal 10.6.22 -> 11.4.13 (PHP 8.4 local)
- composer update -W: core-recommended ^11.4 (11.4.13), drush ^13.8, gin ^5.0, symfony 7 - scan p2 packages.drupal.org: 98/101 modules ont une release compatible D11; contraintes racine+profil relevées - takeover custom: audiofield + bulkdelete (plus de branche D11 upstream), q2d_mod blocs convertis en attributs PHP 8 - patch core 2671162 supprimé (fix mergé dans D11), 2645922 gardé, patches image_field_caption réappliqués - seven retiré (plus dans le core D11), claro déjà présent pour gin - updb OK, change list entity vide, cim OK, cex commit (normalisation config) - allow-plugins symfony/runtime ajouté Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
{#
|
||||
/**
|
||||
* @file
|
||||
* Default theme implementation for AudioField audioplayer download links.
|
||||
*
|
||||
* Available variables:
|
||||
* - links: downloa
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
#}
|
||||
<table class="audiofield-downloads">
|
||||
<caption>{{ 'Download files:'|t }}</caption>
|
||||
{% for file in links %}
|
||||
<tr>
|
||||
<td class="audiofield-download-link">{{ file.link }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
@@ -0,0 +1,40 @@
|
||||
{#
|
||||
/**
|
||||
* @file
|
||||
* Default theme implementation for Audio.js audio player.
|
||||
*
|
||||
* Available variables:
|
||||
* - plugin_id: the name of the plugin being used for templating.
|
||||
* - plugin_theme: the name of the specific plugin theme, if it exists.
|
||||
* - files: array of render info for each file.
|
||||
* - settings: array of settings for thie player.
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
#}
|
||||
<div class="audiofield">
|
||||
<div id="{{ settings.id }}" class="audiofield-audiojs-frame">
|
||||
<div class="audiofield-audiojs">
|
||||
<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>
|
||||
<p class="loadingZ"></p>
|
||||
<p class="errorZ"></p>
|
||||
</div>
|
||||
<div class="scrubberZ">
|
||||
<div class="progressZ"></div>
|
||||
<div class="loadedZ"></div>
|
||||
</div>
|
||||
<div class="timeZ">
|
||||
<em class="playedZ">00:00</em>/<strong class="durationZ">00:00</strong>
|
||||
</div>
|
||||
<div class="error-messageZ"></div>
|
||||
</div>
|
||||
<ol>
|
||||
{% for file in files %}
|
||||
<li><a href="#" data-src="{{ file.url }}">{{ file.description }}</a></li>
|
||||
{% endfor %}
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
+65
@@ -0,0 +1,65 @@
|
||||
{#
|
||||
/**
|
||||
* @file
|
||||
* Multiple file theme implementation for jPlayer audio player.
|
||||
*
|
||||
* Available variables:
|
||||
* - plugin_id: the name of the plugin being used for templating.
|
||||
* - plugin_theme: the name of the specific plugin theme, if it exists.
|
||||
* - files: array of render info for each file.
|
||||
* - settings: array of settings for thie player.
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
#}
|
||||
<div class="audiofield">
|
||||
<div id="jp_container_{{ settings.id }}" class="jp-video jp-video-270p" role="application" aria-label="media player">
|
||||
<div class="jp-type-playlist">
|
||||
<div id="jquery_jplayer_{{ settings.id }}" class="jp-jplayer"></div>
|
||||
<div class="jp-gui">
|
||||
<div class="jp-interface">
|
||||
<div class="jp-progress">
|
||||
<div class="jp-seek-bar">
|
||||
<div class="jp-play-bar"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="jp-current-time" role="timer" aria-label="time"> </div>
|
||||
<div class="jp-duration" role="timer" aria-label="duration"> </div>
|
||||
<div class="jp-controls-holder">
|
||||
<div class="jp-controls">
|
||||
<button class="jp-previous" role="button" tabindex="0">{{ 'previous'|t }}</button>
|
||||
<button class="jp-play" role="button" tabindex="0">{{ 'play'|t }}</button>
|
||||
<button class="jp-next" role="button" tabindex="0">{{ 'next'|t }}</button>
|
||||
<button class="jp-stop" role="button" tabindex="0">{{ 'stop'|t }}</button>
|
||||
</div>
|
||||
<div class="jp-volume-controls">
|
||||
<button class="jp-mute" role="button" tabindex="0">{{ 'mute'|t }}</button>
|
||||
<button class="jp-volume-max" role="button" tabindex="0">{{ 'max volume'|t }}</button>
|
||||
<div class="jp-volume-bar">
|
||||
<div class="jp-volume-bar-value"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="jp-toggles">
|
||||
<button class="jp-repeat" role="button" tabindex="0">{{ 'repeat'|t }}</button>
|
||||
<button class="jp-shuffle" role="button" tabindex="0">{{ 'shuffle'|t }}</button>
|
||||
<button class="jp-full-screen" role="button" tabindex="0">{{ 'full screen'|t }}</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="jp-details">
|
||||
<div class="jp-title" aria-label="title"> </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="jp-playlist">
|
||||
<ul>
|
||||
<!-- The method Playlist.displayPlaylist() uses this unordered list -->
|
||||
<li> </li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="jp-no-solution">
|
||||
<span>{{ 'Update Required'|t }}</span>
|
||||
To play the media you will need to either update your browser to a recent version or update your <a href="http:// get.adobe.com/flashplayer/" target="_blank">Flash plugin</a>.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
+53
@@ -0,0 +1,53 @@
|
||||
{#
|
||||
/**
|
||||
* @file
|
||||
* Single file default theme implementation for jPlayer audio player.
|
||||
*
|
||||
* Available variables:
|
||||
* - plugin_id: the name of the plugin being used for templating.
|
||||
* - plugin_theme: the name of the specific plugin theme, if it exists.
|
||||
* - files: array of render info for each file.
|
||||
* - settings: array of settings for thie player.
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
#}
|
||||
<div class="audiofield">
|
||||
<div id="jquery_jplayer_{{ settings.id }}" class="jp-jplayer"></div>
|
||||
<div id="jp_container_{{ settings.id }}" class="jp-audio" role="application" aria-label="media player">
|
||||
<div class="jp-type-single">
|
||||
<div class="jp-gui jp-interface">
|
||||
<div class="jp-controls">
|
||||
<button class="jp-play" role="button" tabindex="0">{{ 'play'|t }}</button>
|
||||
<button class="jp-stop" role="button" tabindex="0">{{ 'stop'|t }}</button>
|
||||
</div>
|
||||
<div class="jp-progress">
|
||||
<div class="jp-seek-bar">
|
||||
<div class="jp-play-bar"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="jp-volume-controls">
|
||||
<button class="jp-mute" role="button" tabindex="0">{{ 'mute'|t }}</button>
|
||||
<button class="jp-volume-max" role="button" tabindex="0">{{ 'max volume'|t }}</button>
|
||||
<div class="jp-volume-bar">
|
||||
<div class="jp-volume-bar-value"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="jp-time-holder">
|
||||
<div class="jp-current-time" role="timer" aria-label="time"> </div>
|
||||
<div class="jp-duration" role="timer" aria-label="duration"> </div>
|
||||
<div class="jp-toggles">
|
||||
<button class="jp-repeat" role="button" tabindex="0">{{ 'repeat'|t }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="jp-details">
|
||||
<div class="jp-title" aria-label="title"> </div>
|
||||
</div>
|
||||
<div class="jp-no-solution">
|
||||
<span>{{ 'Update Required'|t }}</span>
|
||||
To play the media you will need to either update your browser to a recent version or update your <a href="http:// get.adobe.com/flashplayer/" target="_blank">Flash plugin</a>.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
+43
@@ -0,0 +1,43 @@
|
||||
{#
|
||||
/**
|
||||
* @file
|
||||
* Default theme implementation for jPlayer audio player.
|
||||
*
|
||||
* Available variables:
|
||||
* - plugin_id: the name of the plugin being used for templating.
|
||||
* - plugin_theme: the name of the specific plugin theme, if it exists.
|
||||
* - files: array of render info for each file.
|
||||
* - settings: array of settings for thie player.
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
#}
|
||||
<div class="audiofield">
|
||||
|
||||
{% if settings.audio_player_jplayer_theme == 'audiofield.jplayer.theme_jplayer_circle' %}
|
||||
{% for file in files %}
|
||||
<div class="audiofield-player">
|
||||
<div id="jquery_jplayer_{{ file.id }}" class="cp-jplayer"></div>
|
||||
<div class="cp-circle-frame">
|
||||
<div id="cp_container_{{ file.id }}" class="cp-container">
|
||||
<div class="cp-buffer-holder">
|
||||
<div class="cp-buffer-1"></div>
|
||||
<div class="cp-buffer-2"></div>
|
||||
</div>
|
||||
<div class="cp-progress-holder">
|
||||
<div class="cp-progress-1"></div>
|
||||
<div class="cp-progress-2"></div>
|
||||
</div>
|
||||
<div class="cp-circle-control"></div>
|
||||
<ul class="cp-controls">
|
||||
<li><a class="cp-play" tabindex="1">{{ 'play'|t }}</a></li>
|
||||
<li><a class="cp-pause" style="display:none;" tabindex="1">{{ 'pause'|t }}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<p class="description">{{ file.description }}</p>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,39 @@
|
||||
{#
|
||||
/**
|
||||
* @file
|
||||
* Circle theme implementation for jPlayer audio player.
|
||||
*
|
||||
* Available variables:
|
||||
* - plugin_id: the name of the plugin being used for templating.
|
||||
* - plugin_theme: the name of the specific plugin theme, if it exists.
|
||||
* - files: array of render info for each file.
|
||||
* - settings: array of settings for thie player.
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
#}
|
||||
<div class="audiofield">
|
||||
{% for file in files %}
|
||||
<div class="audiofield-player">
|
||||
<div id="jquery_jplayer_{{ file.id }}" class="cp-jplayer"></div>
|
||||
<div class="cp-circle-frame">
|
||||
<div id="cp_container_{{ file.id }}" class="cp-container">
|
||||
<div class="cp-buffer-holder">
|
||||
<div class="cp-buffer-1"></div>
|
||||
<div class="cp-buffer-2"></div>
|
||||
</div>
|
||||
<div class="cp-progress-holder">
|
||||
<div class="cp-progress-1"></div>
|
||||
<div class="cp-progress-2"></div>
|
||||
</div>
|
||||
<div class="cp-circle-control"></div>
|
||||
<ul class="cp-controls">
|
||||
<li><a class="cp-play" tabindex="1">play</a></li>
|
||||
<li><a class="cp-pause" style="display:none;" tabindex="1">pause</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<p class="description">{{ file.description }}</p>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
@@ -0,0 +1,27 @@
|
||||
{#
|
||||
/**
|
||||
* @file
|
||||
* Default theme implementation for Media Element audio player.
|
||||
*
|
||||
* Available variables:
|
||||
* - plugin_id: the name of the plugin being used for templating.
|
||||
* - plugin_theme: the name of the specific plugin theme, if it exists.
|
||||
* - files: array of render info for each file.
|
||||
* - settings: array of settings for thie player.
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
#}
|
||||
<div class="audiofield">
|
||||
{% for file in files %}
|
||||
<div class="audiofield-player">
|
||||
<div class="mediaelementaudio_frame">
|
||||
<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>
|
||||
</div>
|
||||
<p class="description">{{ file.description }}</p>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
@@ -0,0 +1,25 @@
|
||||
{#
|
||||
/**
|
||||
* @file
|
||||
* Default theme implementation for Projekktor audio player.
|
||||
*
|
||||
* Available variables:
|
||||
* - plugin_id: the name of the plugin being used for templating.
|
||||
* - plugin_theme: the name of the specific plugin theme, if it exists.
|
||||
* - files: array of render info for each file.
|
||||
* - settings: array of settings for thie player.
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
#}
|
||||
<div class="audiofield">
|
||||
{% for file in files %}
|
||||
<div class="audiofield-player">
|
||||
<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>
|
||||
<p class="description">{{ file.description }}</p>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
@@ -0,0 +1,76 @@
|
||||
{#
|
||||
/**
|
||||
* @file
|
||||
* Bar UI theme implementation for SoundManager audio player.
|
||||
*
|
||||
* Available variables:
|
||||
* - plugin_id: the name of the plugin being used for templating.
|
||||
* - plugin_theme: the name of the specific plugin theme, if it exists.
|
||||
* - files: array of render info for each file.
|
||||
* - settings: array of settings for thie player.
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
#}
|
||||
<div class="audiofield">
|
||||
<div class="sm2-bar-ui {% if settings.count > 1 %} playlist-open {% endif %}">
|
||||
<div class="bd sm2-main-controls">
|
||||
<div class="sm2-inline-texture"></div>
|
||||
<div class="sm2-inline-gradient"></div>
|
||||
<div class="sm2-inline-element sm2-button-element">
|
||||
<div class="sm2-button-bd">
|
||||
<a href="#play" class="sm2-inline-button sm2-icon-play-pause">{{ 'Play / pause'|t }}</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sm2-inline-element sm2-inline-status">
|
||||
<div class="sm2-playlist">
|
||||
<div class="sm2-playlist-target"><noscript><p>{{ 'JavaScript is required.'|t }}</p></noscript></div>
|
||||
</div>
|
||||
<div class="sm2-progress">
|
||||
<div class="sm2-row">
|
||||
<div class="sm2-inline-time">0:00</div>
|
||||
<div class="sm2-progress-bd">
|
||||
<div class="sm2-progress-track">
|
||||
<div class="sm2-progress-bar"></div>
|
||||
<div class="sm2-progress-ball"><div class="icon-overlay"></div></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sm2-inline-duration">0:00</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sm2-inline-element sm2-button-element sm2-volume">
|
||||
<div class="sm2-button-bd">
|
||||
<span class="sm2-inline-button sm2-volume-control volume-shade"></span>
|
||||
<a href="#volume" class="sm2-inline-button sm2-volume-control">{{ 'volume'|t }}</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sm2-inline-element sm2-button-element sm2-menu">
|
||||
<div class="sm2-button-bd">
|
||||
<a href="#menu" class="sm2-inline-button sm2-icon-menu">{{ 'menu'|t }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bd sm2-playlist-drawer sm2-element">
|
||||
<div class="sm2-playlist-wrapper">
|
||||
<ul class="sm2-playlist-bd">
|
||||
{% for file in files %}
|
||||
<li>
|
||||
<a href="{{ file.url }}">{{ file.description }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sm2-extra-controls">
|
||||
<div class="bd">
|
||||
<div class="sm2-inline-element sm2-button-element">
|
||||
<a href="#prev" title="Previous" class="sm2-inline-button previous">< {{ 'previous'|t }}</a>
|
||||
</div>
|
||||
<div class="sm2-inline-element sm2-button-element">
|
||||
<a href="#next" title="Next" class="sm2-inline-button next">> {{ 'next'|t }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
{#
|
||||
/**
|
||||
* @file
|
||||
* Inline player theme implementation for SoundManager audio player.
|
||||
*
|
||||
* Available variables:
|
||||
* - plugin_id: the name of the plugin being used for templating.
|
||||
* - plugin_theme: the name of the specific plugin theme, if it exists.
|
||||
* - files: array of render info for each file.
|
||||
* - settings: array of settings for thie player.
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
#}
|
||||
<div class="audiofield">
|
||||
{% for file in files %}
|
||||
<ul class="graphic">
|
||||
<li>
|
||||
<a href="{{ file.url }}">{{ file.description }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
{% endfor %}
|
||||
</div>
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
{#
|
||||
/**
|
||||
* @file
|
||||
* Inline player theme implementation for SoundManager audio player.
|
||||
*
|
||||
* Available variables:
|
||||
* - plugin_id: the name of the plugin being used for templating.
|
||||
* - plugin_theme: the name of the specific plugin theme, if it exists.
|
||||
* - files: array of render info for each file.
|
||||
* - settings: array of settings for thie player.
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
#}
|
||||
<div class="audiofield">
|
||||
{% for file in files %}
|
||||
<ul class="playlist">
|
||||
<li>
|
||||
<a href="{{ file.url }}">{{ file.description }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
{% endfor %}
|
||||
</div>
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
{#
|
||||
/**
|
||||
* @file
|
||||
* Player 360 theme implementation for SoundManager audio player.
|
||||
*
|
||||
* Available variables:
|
||||
* - plugin_id: the name of the plugin being used for templating.
|
||||
* - plugin_theme: the name of the specific plugin theme, if it exists.
|
||||
* - files: array of render info for each file.
|
||||
* - settings: array of settings for thie player.
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
#}
|
||||
<div class="audiofield">
|
||||
{% for file in files %}
|
||||
<div class="ui360">
|
||||
<a href="{{ file.url }} ">{{ file.description }}</a>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
@@ -0,0 +1,24 @@
|
||||
{#
|
||||
/**
|
||||
* @file
|
||||
* Default theme implementation for SoundManager audio player.
|
||||
*
|
||||
* Available variables:
|
||||
* - plugin_id: the name of the plugin being used for templating.
|
||||
* - plugin_theme: the name of the specific plugin theme, if it exists.
|
||||
* - files: array of render info for each file.
|
||||
* - settings: array of settings for thie player.
|
||||
*
|
||||
* @see template_preprocess_audioplayer__soundmanager()
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
#}
|
||||
<div class="audiofield">
|
||||
{% for file in files %}
|
||||
<div id="audiofield-audio-player-{{ file.id }}" class="soundmanageraudio_frame">
|
||||
<a href="{{ file.url }}" class="sm2_button">{{ file.description }}</a>
|
||||
<p class="description">{{ file.description }}</p>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
@@ -0,0 +1,29 @@
|
||||
{#
|
||||
/**
|
||||
* @file
|
||||
* Playlist theme implementation for Wavesurfer audio player.
|
||||
*
|
||||
* Available variables:
|
||||
* - plugin_id: the name of the plugin being used for templating.
|
||||
* - plugin_theme: the name of the specific plugin theme, if it exists.
|
||||
* - files: array of render info for each file.
|
||||
* - settings: array of settings for thie player.
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
#}
|
||||
<div class="audiofield">
|
||||
<div class="audiofield-wavesurfer playlist" id="wavesurfer_playlist-{{ settings.unique_id }}">
|
||||
<div class="waveform"></div>
|
||||
<div class="player-button previous">{{ 'Previous'|t }}</div>
|
||||
<div class="player-button playpause play">{{ 'Play'|t }}</div>
|
||||
<div class="player-button next">{{ 'Next'|t }}</div>
|
||||
<input type="range" class="volume" min="0" max="10" value="{{ settings.audio_player_initial_volume }}">
|
||||
<div class="playing">{{ 'Playing'|t }}:</div>
|
||||
<ol class="playlist">
|
||||
{% for file in files %}
|
||||
<li class="track" data-src="{{ file.url }}" data-peakpath="{{ file.peakpath }}">{{ file.description }}</li>
|
||||
{% endfor %}
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,24 @@
|
||||
{#
|
||||
/**
|
||||
* @file
|
||||
* Default theme implementation for Wavesurfer audio player.
|
||||
*
|
||||
* Available variables:
|
||||
* - plugin_id: the name of the plugin being used for templating.
|
||||
* - plugin_theme: the name of the specific plugin theme, if it exists.
|
||||
* - files: array of render info for each file.
|
||||
* - settings: array of settings for thie player.
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
#}
|
||||
<div class="audiofield">
|
||||
{% for file in files %}
|
||||
<div class="audiofield-wavesurfer" id="{{ file.id }}">
|
||||
<div id="audiofield-audio-player-{{ file.id }}" class="waveform"></div>
|
||||
<div class="player-button playpause play">{{ 'Play'|t }}</div>
|
||||
<input type="range" class="volume" min="0" max="10" value="{{ settings.audio_player_initial_volume}}">
|
||||
<p class="description">{{ file.description }}</p>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
@@ -0,0 +1,21 @@
|
||||
{#
|
||||
/**
|
||||
* @file
|
||||
* Default theme implementation for Wordpress audio player.
|
||||
*
|
||||
* Available variables:
|
||||
* - plugin_id: the name of the plugin being used for templating.
|
||||
* - plugin_theme: the name of the specific plugin theme, if it exists.
|
||||
* - files: array of render info for each file.
|
||||
* - settings: array of settings for thie player.
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
#}
|
||||
<div class="audiofield">
|
||||
{% for file in files %}
|
||||
<div class="wordpressaudio_frame">
|
||||
<div class="wordpressaudioplayer" id="wordpressaudioplayer_{{ file.id }}">{{ file.description }}</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
@@ -0,0 +1,25 @@
|
||||
{#
|
||||
/**
|
||||
* @file
|
||||
* Default implementation for Audiofield audio players.
|
||||
*
|
||||
* Available variables:
|
||||
* - plugin_id: the name of the plugin being used for templating.
|
||||
* - plugin_theme: the name of the specific plugin theme, if it exists.
|
||||
* - files: array of render info for each file.
|
||||
* - settings: array of settings for thie player.
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
#}
|
||||
<div class="audiofield">
|
||||
{% for file in files %}
|
||||
<div class="audiofield-player">
|
||||
<audio id="audiofield-audio-player-{{ file.id }}" 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>
|
||||
<p class="description">{{ file.description }}</p>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
Reference in New Issue
Block a user