You are here

brightcove-playlist-video-player.html.twig in Brightcove Video Connect 8

brightcove-playlist-video-player.html.twig Default theme implementation to display Brightcove playlist video player.

This template is used when dispalying the Brightcove playlist video player.

Available variables:

  • playlist_id
  • account
  • player
  • embed
  • data-usage

File

templates/brightcove-playlist-video-player.html.twig
View source
  1. {#
  2. /**
  3. * @file brightcove-playlist-video-player.html.twig
  4. * Default theme implementation to display Brightcove playlist video player.
  5. *
  6. * This template is used when dispalying the Brightcove playlist video player.
  7. *
  8. * Available variables:
  9. * - playlist_id
  10. * - account
  11. * - player
  12. * - embed
  13. * - data-usage
  14. *
  15. * @ingroup themeable
  16. */
  17. #}
  18. <video
  19. data-playlist-id="{{- playlist_id -}}"
  20. data-account="{{- account -}}"
  21. data-player="{{- player -}}"
  22. data-embed="{{- embed -}}"
  23. data-usage="{{- data_usage -}}"
  24. {% if height != null %}
  25. height="{{ height }}"
  26. {% endif %}
  27. {% if width != null %}
  28. width="{{ width }}"
  29. {% endif %}
  30. class="video-js" controls>
  31. </video>
  32. <ol class="vjs-playlist"></ol>
  33. <script src="//players.brightcove.net/{{- account -}}/{{- player -}}_{{- embed -}}/index.min.js"></script>