Skip to content

Commit 986840f

Browse files
add video integration in better understand trackers page
add static.exodus-privacy.eu.org in dev Content-Security-Policy
1 parent ff9c4b6 commit 986840f

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

exodus/exodus/settings/common_dev.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
CSP_FORM_ACTION = ("'self'")
3333
CSP_FRAME_ANCESTORS = ("'self'")
3434
CSP_FRAME_SRC = ("'none'")
35-
CSP_IMG_SRC = ("'self'", "data:")
36-
CSP_MEDIA_SRC = ("'self'")
35+
CSP_IMG_SRC = ("'self'", "data:", "https://static.exodus-privacy.eu.org")
36+
CSP_MEDIA_SRC = ("'self'", "https://static.exodus-privacy.eu.org")
3737
CSP_OBJECT_SRC = ("'self'")
3838
CSP_SCRIPT_SRC = ("'self'", "'unsafe-inline'", "'unsafe-eval'")
3939
CSP_STYLE_SRC = ("'self'")

exodus/web/templates/base/trackers.html

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ <h1 class="main-title">
2525
<div class="col-md-8 col-12 mb-4">
2626
<h4>{% trans "What is a tracker?" %}</h4>
2727
<p>
28-
<a target='_blank' rel='noreferrer' href='https://www.youtube.com/watch?v=sv_xF2KIJZE'>{% trans "See the video" %}</a>
28+
<video class="col-12 mb-4" controls preload="none" poster="https://static.exodus-privacy.eu.org/image/les-pisteurs-en-2-minutes.jpg">
29+
<source src="https://static.exodus-privacy.eu.org/video/les-pisteurs-en-2-minutes.webm" type="video/webm" />
30+
</video>
31+
<a target='_blank' rel='noreferrer' href='https://www.youtube.com/watch?v=sv_xF2KIJZE'>{% trans "See the video on Youtube" %}</a>
2932
<p>
3033
<p>
3134
{% trans "A tracker is a piece of software whose task is to gather information on the person using the application, on how they use it, or on the smartphone being used. A tracker is usually distributed by companies as a SDK (Software Development Kit), a sort of ready-made toolkit, aiming to make it easier for application developers. To be noted : 'open source' trackers exist, their code is available and open to everyone." %}
@@ -34,7 +37,10 @@ <h4>{% trans "What is a tracker?" %}</h4>
3437
<div class="col-md-8 col-12 mb-4">
3538
<h4>{% trans "Are all trackers created equal?" %}</h4>
3639
<p>
37-
<a target='_blank' rel='noreferrer' href='https://www.youtube.com/watch?v=yMj3pmnElVQ'>{% trans "See the video" %}</a>
40+
<video class="col-12 mb-4" controls preload="none" poster="https://static.exodus-privacy.eu.org/image/les-donnees-collectees-par-les-pisteurs.jpg">
41+
<source src="https://static.exodus-privacy.eu.org/video/les-donnees-collectees-par-les-pisteurs.webm" type="video/webm" />
42+
</video>
43+
<a target='_blank' rel='noreferrer' href='https://www.youtube.com/watch?v=yMj3pmnElVQ'>{% trans "See the video on Youtube" %}</a>
3844
<p>
3945
<p>
4046
{% trans "No, all trackers do not have the same function and they can present different levels of (privacy) intrusion." %}
@@ -63,7 +69,10 @@ <h4>{% trans "Are all trackers created equal?" %}</h4>
6369
<div class="col-md-8 col-12 mb-4">
6470
<h4>{% trans "Who puts these trackers in?" %}</h4>
6571
<p>
66-
<a target='_blank' rel='noreferrer' href='https://www.youtube.com/watch?v=BaKS064_t0I'>{% trans "See the video" %}</a>
72+
<video class="col-12 mb-4" controls preload="none" poster="https://static.exodus-privacy.eu.org/image/comment-les-pisteurs-arrivent-ils-dans-les-applications.jpg">
73+
<source src="https://static.exodus-privacy.eu.org/video/comment-les-pisteurs-arrivent-ils-dans-les-applications.webm" type="video/webm" />
74+
</video>
75+
<a target='_blank' rel='noreferrer' href='https://www.youtube.com/watch?v=BaKS064_t0I'>{% trans "See the video on Youtube" %}</a>
6776
<p>
6877
<p>
6978
{% trans "To answer these questions we must first understand how applications are made; there are 2 possible scenarios:" %}

0 commit comments

Comments
 (0)