jw_player.html.twig in JW Player 8
<div class="jwplayer-video">
<video id="{{ html_id }}" width="{{ width }}" height="{{ height }}" controls="controls" preload="none"{% if poster %} poster="{{ poster }}"{% endif %}>
<source src="{{ file_url }}"{% if file_mime %} type="{{ file_mime }}" {% endif %}/>
</video>
</div>
File
templates/jw_player.html.twig
View source
- <div class="jwplayer-video">
- <video id="{{ html_id }}" width="{{ width }}" height="{{ height }}" controls="controls" preload="none"{% if poster %} poster="{{ poster }}"{% endif %}>
- <source src="{{ file_url }}"{% if file_mime %} type="{{ file_mime }}" {% endif %}/>
- </video>
- </div>