Skip to content

Commit

Permalink
Update type-asset.html.twig (#153)
Browse files Browse the repository at this point in the history
Bugfix: If more than one video is added in a column, the outer div´s get closed an the HTML-markup is broken.
  • Loading branch information
ghettopro authored Jun 4, 2021
1 parent 15c8639 commit 09a9536
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<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>
<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 }}">
{{ pimcore_vhs('video', {
'attributes': {
'class': 'video-js vjs-default-skin vjs-big-play-centered',
Expand All @@ -12,4 +12,4 @@

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

0 comments on commit 09a9536

Please sign in to comment.