audioplayer--jplayer.html.twig 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. {#
  2. /**
  3. * @file
  4. * Circle theme implementation for jPlayer 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. <div id="jquery_jplayer_{{ file.id }}" class="cp-jplayer"></div>
  18. <div class="cp-circle-frame">
  19. <div id="cp_container_{{ file.id }}" class="cp-container">
  20. <div class="cp-buffer-holder">
  21. <div class="cp-buffer-1"></div>
  22. <div class="cp-buffer-2"></div>
  23. </div>
  24. <div class="cp-progress-holder">
  25. <div class="cp-progress-1"></div>
  26. <div class="cp-progress-2"></div>
  27. </div>
  28. <div class="cp-circle-control"></div>
  29. <ul class="cp-controls">
  30. <li><a class="cp-play" tabindex="1">play</a></li>
  31. <li><a class="cp-pause" style="display:none;" tabindex="1">pause</a></li>
  32. </ul>
  33. </div>
  34. <label for="cp_container_{{ file.id }}">{{ file.description }}</label>
  35. </div>
  36. {% endfor %}
  37. </div>