You are here

audioplayer--jplayer--default-multiple.html.twig in AudioField 8

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.

File

templates/audioplayer--jplayer--default-multiple.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Multiple file 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. <div id="jp_container_{{ settings.id }}" class="jp-video jp-video-270p" role="application" aria-label="media player">
  17. <div class="jp-type-playlist">
  18. <div id="jquery_jplayer_{{ settings.id }}" class="jp-jplayer"></div>
  19. <div class="jp-gui">
  20. <div class="jp-interface">
  21. <div class="jp-progress">
  22. <div class="jp-seek-bar">
  23. <div class="jp-play-bar"></div>
  24. </div>
  25. </div>
  26. <div class="jp-current-time" role="timer" aria-label="time">&nbsp;</div>
  27. <div class="jp-duration" role="timer" aria-label="duration">&nbsp;</div>
  28. <div class="jp-controls-holder">
  29. <div class="jp-controls">
  30. <button class="jp-previous" role="button" tabindex="0">previous</button>
  31. <button class="jp-play" role="button" tabindex="0">play</button>
  32. <button class="jp-next" role="button" tabindex="0">next</button>
  33. <button class="jp-stop" role="button" tabindex="0">stop</button>
  34. </div>
  35. <div class="jp-volume-controls">
  36. <button class="jp-mute" role="button" tabindex="0">mute</button>
  37. <button class="jp-volume-max" role="button" tabindex="0">max volume</button>
  38. <div class="jp-volume-bar">
  39. <div class="jp-volume-bar-value"></div>
  40. </div>
  41. </div>
  42. <div class="jp-toggles">
  43. <button class="jp-repeat" role="button" tabindex="0">repeat</button>
  44. <button class="jp-shuffle" role="button" tabindex="0">shuffle</button>
  45. <button class="jp-full-screen" role="button" tabindex="0">full screen</button>
  46. </div>
  47. </div>
  48. <div class="jp-details">
  49. <div class="jp-title" aria-label="title">&nbsp;</div>
  50. </div>
  51. </div>
  52. </div>
  53. <div class="jp-playlist">
  54. <ul>
  55. <!-- The method Playlist.displayPlaylist() uses this unordered list -->
  56. <li>&nbsp;</li>
  57. </ul>
  58. </div>
  59. <div class="jp-no-solution">
  60. <span>Update Required</span>
  61. 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>.
  62. </div>
  63. </div>
  64. </div>
  65. </div>