gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[www] branch master updated: video: Add urls to alternate text.


From: gnunet
Subject: [www] branch master updated: video: Add urls to alternate text.
Date: Tue, 03 Dec 2019 16:57:30 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository www.

The following commit(s) were added to refs/heads/master by this push:
     new 4761282  video: Add urls to alternate text.
4761282 is described below

commit 47612825ed7b777d6f3e749765ca4fb57f68aef3
Author: ng0 <address@hidden>
AuthorDate: Tue Dec 3 15:54:21 2019 +0000

    video: Add urls to alternate text.
---
 template/video.html.j2 | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/template/video.html.j2 b/template/video.html.j2
index f3c92b8..fe1316b 100644
--- a/template/video.html.j2
+++ b/template/video.html.j2
@@ -30,6 +30,18 @@
                       <source src="">
                     {% endif %}
                     Your web browser does not support the video tag.
+                    {% if item['sources'] %}
+                      Don&#39;t worry, you can download:
+                      {% for video in item['sources'] %}
+                       <a href="{{ video }}">source</a>
+                        {% if not loop.last %}
+                          ,
+                        {% endif %}
+                      {% endfor %}
+                      or use
+                      git clone https://git.gnunet.org/gnunet-videos-{{ 
item['year'] }}.git
+                      and watch it in your favorite video player!
+                    {% endif %}
                   </video>
                 </div>
                 <div class="col">

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]