You are here

audioplayer--soundmanager--inlineplayer.html.twig in AudioField 8

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.

File

templates/audioplayer--soundmanager--inlineplayer.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Inline player theme implementation for SoundManager audio player.
  5. *
  6. * Available variables:
  7. * - plugin_id: the name of the plugin being used for templating.
  8. * - plugin_theme: the name of the specific plugin theme, if it exists.
  9. * - files: array of render info for each file.
  10. * - settings: array of settings for thie player.
  11. *
  12. * @ingroup themeable
  13. */
  14. #}
  15. <div class="audiofield">
  16. {% for file in files %}
  17. <ul class="graphic">
  18. <li>
  19. <a href="{{ file.url }}">{{ file.description }}</a>
  20. </li>
  21. </ul>
  22. {% endfor %}
  23. </div>