summaryrefslogtreecommitdiff
path: root/searx/templates/oscar/result_templates/videos.html
diff options
context:
space:
mode:
Diffstat (limited to 'searx/templates/oscar/result_templates/videos.html')
-rw-r--r--searx/templates/oscar/result_templates/videos.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/searx/templates/oscar/result_templates/videos.html b/searx/templates/oscar/result_templates/videos.html
index 4519b96d6..975f75e2a 100644
--- a/searx/templates/oscar/result_templates/videos.html
+++ b/searx/templates/oscar/result_templates/videos.html
@@ -3,13 +3,13 @@
{{- result_header(result, favicons, loop.index) -}}
{{- result_sub_header(result, loop.index) -}}
-{%- if result.data_src -%}
+{%- if result.iframe_src -%}
<small> &bull; <a class="text-info btn-collapse collapsed cursor-pointer media-loader disabled_if_nojs" data-toggle="collapse" data-target="#result-video-{{ index }}" data-btn-text-collapsed="{{ _('show video') }}" data-btn-text-not-collapsed="{{ _('hide video') }}" aria-labelledby="result-{{loop.index}}">{{ icon('film') }} {{ _('show video') }}</a></small>
{%- endif -%}
-{% if result.data_src -%}
+{% if result.iframe_src -%}
<div id="result-video-{{ index }}" class="embedded-video collapse">
- <iframe data-src="{{result.data_src}}" width="540" height="304" frameborder="0" scrolling="no" allowfullscreen></iframe>
+ <iframe data-src="{{result.iframe_src}}" width="540" height="304" frameborder="0" scrolling="no" allowfullscreen></iframe>
</div>
{%- endif %}