diff options
Diffstat (limited to 'searx/templates/simple/result_templates/videos.html')
-rw-r--r-- | searx/templates/simple/result_templates/videos.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/searx/templates/simple/result_templates/videos.html b/searx/templates/simple/result_templates/videos.html index 6da70a8a2..adbda4063 100644 --- a/searx/templates/simple/result_templates/videos.html +++ b/searx/templates/simple/result_templates/videos.html @@ -2,7 +2,7 @@ {{ result_header(result, favicons, image_proxify) }} {{ result_sub_header(result) }} -{% if result.data_src -%} +{% if result.iframe_src -%} <p class="altlink"> • <a class="btn-collapse collapsed media-loader disabled_if_nojs" data-target="#result-video-{{ index }}" data-btn-text-collapsed="{{ _('show video') }}" data-btn-text-not-collapsed="{{ _('hide video') }}">{{ icon('film-outline') }} {{ _('show video') }}</a></p> {%- endif %} {%- if result.content %} @@ -16,9 +16,9 @@ {% endif -%} </p> {{- result_sub_footer(result, proxify) -}} -{% if result.data_src -%} +{% if result.iframe_src -%} <div id="result-video-{{ index }}" class="embedded-video invisible"> - <iframe data-src="{{result.data_src}}" frameborder="0" allowfullscreen></iframe> + <iframe data-src="{{result.iframe_src}}" frameborder="0" allowfullscreen></iframe> </div> {%- endif %} {{ result_footer(result) }} |