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
1 theme call to brightcove-playlist-video-player.html.twig
- brightcove_brightcove_playlist_view in ./
brightcove.module - Implements hook_ENTITY_TYPE_view().
File
templates/brightcove-playlist-video-player.html.twigView source
- {#
- /**
- * @file 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
- *
- * @ingroup themeable
- */
- #}
- <video
- data-playlist-id="{{- playlist_id -}}"
- data-account="{{- account -}}"
- data-player="{{- player -}}"
- data-embed="{{- embed -}}"
- data-usage="{{- data_usage -}}"
- {% if height != null %}
- height="{{ height }}"
- {% endif %}
- {% if width != null %}
- width="{{ width }}"
- {% endif %}
- class="video-js" controls>
- </video>
- <ol class="vjs-playlist"></ol>
- <script src="//players.brightcove.net/{{- account -}}/{{- player -}}_{{- embed -}}/index.min.js"></script>