Skip to content

Commit 09a9536

Browse files
authored
Update type-asset.html.twig (#153)
Bugfix: If more than one video is added in a column, the outer div´s get closed an the HTML-markup is broken.
1 parent 15c8639 commit 09a9536

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ToolboxBundle/Resources/views/Toolbox/Bootstrap4/Video/type-asset.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="player" {{ toolbox_data_attributes_generator('video_parameter', {'video_parameter' : videoParameter}, true)|raw }} data-poster-path="{{ posterPath }}" data-play-in-lightbox="{{ playInLightbox }}" data-video-uri="{{ videoId }}"></div>
1+
<div class="player" {{ toolbox_data_attributes_generator('video_parameter', {'video_parameter' : videoParameter}, true)|raw }} data-poster-path="{{ posterPath }}" data-play-in-lightbox="{{ playInLightbox }}" data-video-uri="{{ videoId }}">
22
{{ pimcore_vhs('video', {
33
'attributes': {
44
'class': 'video-js vjs-default-skin vjs-big-play-centered',
@@ -12,4 +12,4 @@
1212

1313
{% if posterPath is not empty %}
1414
{% include toolbox_area_path(areaId, '/Partial/overlay') with {'posterPath' : posterPath, 'playInLightbox' : playInLightbox} %}
15-
{% endif %}
15+
{% endif %}

0 commit comments

Comments
 (0)