Skip to content

Commit

Permalink
fix(video): Initializing the _extra_attributes variable - FRONT-4590 (#…
Browse files Browse the repository at this point in the history
…3594)

Co-authored-by: Romain Emery <[email protected]>
  • Loading branch information
planctus and emeryro authored Sep 2, 2024
1 parent a85e98b commit d8bc61d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/implementations/twig/components/video/video.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
{% set _title = title|default('') %}
{% set _sr_video_player = sr_video_player|default('') %}
{% set _sr_video_label = sr_video_label|default('') %}
{% set _extra_attributes = '' %}

{% if _controls %}
{% set _extra_attributes = 'controls' %}
Expand Down

1 comment on commit d8bc61d

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.