Files
drupal-caravane/web/modules/custom/audiofield/templates/audioplayer--jplayer--default-single.html.twig
T
bachir 38d0039766 Saut Drupal 10.4.3 -> 11.4.13 + maj modules contrib compatibles D11
- core-recommended/scaffold/project-message ^11.4, platform php 8.3.37, symfony/runtime allow-plugin
- drush ^13, toutes les contraintes modules montées vers D11 (racine + profil starterkit)
- modules abandonnés D11 pris en custom: path_alias_xt, content_type_clone, bulkdelete, imagestyleflush (flush_single_image), audiofield (annotations -> attributs PHP 8), adminimal_theme (theme)
- decoupled + theme caravane: core_version_requirement || ^11
- .gitmodules du profil -> gitea (gogs mort)
- patch page_manager 3438993 retiré (ne s'applique plus sur 4.1.0, refactor upstream)
- sync: retrait ban/actions_permissions/seven (modules core supprimés en D11) + normalisation cex D11
- config_pages: conflit intro_partenaire résolu

Tests local (docker php 8.3.37): updb OK, cim OK, getChangeList vide, 6 pages clés hash-identiques avant/après, watchdog sans erreur nouvelle.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-22 16:51:02 +01:00

54 lines
2.0 KiB
Twig

{#
/**
* @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</button>
<button class="jp-stop" role="button" tabindex="0">stop</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</button>
<button class="jp-volume-max" role="button" tabindex="0">max volume</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">&nbsp;</div>
<div class="jp-duration" role="timer" aria-label="duration">&nbsp;</div>
<div class="jp-toggles">
<button class="jp-repeat" role="button" tabindex="0">repeat</button>
</div>
</div>
</div>
<div class="jp-details">
<div class="jp-title" aria-label="title">&nbsp;</div>
</div>
<div class="jp-no-solution">
<span>Update Required</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>