Skip to content

Commit

Permalink
CS fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
emodric committed Dec 18, 2024
1 parent 0c7f7e7 commit 08da8d6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions templates/themes/app/content/macros/video.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
{% else %}
{% set link_title = 'ngsite.read_more_about'|trans ~ ' ' ~ content.name %}
{% endif %}

{% set alias_name = alias_name|default('i480') %}
{% set alt_text = alt_text ?? content.name %}
{% set image_ratio = image_ratio|default('ratio-16x9') %}
Expand Down Expand Up @@ -56,7 +57,6 @@
{% endmacro %}

{% macro player(content) %}

{% set video_types = content.fields.video_type.value.identifiers %}
{% set autoplay = content.fields.autoplay.value.bool %}

Expand All @@ -66,7 +66,6 @@
{% set video_title = content.name %}
{% endif %}


{% set image_path = asset('images/video_poster.png') %}
{% if not content.fields.poster.empty %}
{% set poster_alias = ng_image_alias(content.fields.poster, 'i1320') %}
Expand Down Expand Up @@ -138,7 +137,6 @@
{% endmacro %}

{% macro player_slide(content) %}

{% set video_types = content.fields.video_type.value.identifiers %}

{% if not content.fields.title.empty %}
Expand Down

0 comments on commit 08da8d6

Please sign in to comment.