Browse Source

supports https for videos.

resources are local to website, it keeps http(s)://servername whatever the name is.
master
philippe lhardy 3 years ago
parent
commit
d8b083cf35
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      jm2l/views.py

+ 4
- 4
jm2l/views.py View File

@@ -289,7 +289,7 @@ def JSON_TimeLine_Request(request):
"asset":
{
#"media":"https://www.youtube.com/watch?v=91X65eEKxvU&t=6s",
"media":embeed_video("video/ogg","http://jm2l.linux-azur.org/resources/2015/Video/jm2l_france3-2015.ogv"),
"media":embeed_video("video/ogg","/resources/2015/Video/jm2l_france3-2015.ogv"),
"credit":"Reportage France 3",
"caption":"JM2L 2015"
}
@@ -304,7 +304,7 @@ def JSON_TimeLine_Request(request):
"asset":
{
#"media":"https://www.youtube.com/watch?v=91X65eEKxvU&t=6s",
"media":embeed_video("video/ogg","http://jm2l.linux-azur.org/resources/2015/Video/jm2l_france3-2015.ogv"),
"media":embeed_video("video/ogg","/resources/2015/Video/jm2l_france3-2015.ogv"),
"credit":"Reportage France 3",
"caption":"JM2L 2015"
}
@@ -331,7 +331,7 @@ def JSON_TimeLine_Request(request):
"text":"<i><span class='c1'>5ème Édition</span></i>",
"asset":
{
"media":embeed_video("video/ogg","http://jm2l.linux-azur.org/resources/2010/Video/reportages/JM2L2010-PleinSudTV.ogv"),
"media":embeed_video("video/ogg","/resources/2010/Video/reportages/JM2L2010-PleinSudTV.ogv"),
"credit":"<a href='http://pleinsudtv.com/index.php/casa/affichage-en-vignettes/93-casa-culture/582-les-jm-du-logiciel-libre-2010'>Le reportage Plein-sud TV</a>",
"caption":"JM2L",
}
@@ -344,7 +344,7 @@ def JSON_TimeLine_Request(request):
"text":"<i><span class='c1'>2ème Édition</span></i>",
"asset":
{
"media":embeed_video("video/ogg","http://jm2l.linux-azur.org/resources/2007/Video/20071110-linux.ogv"),
"media":embeed_video("video/ogg","/resources/2007/Video/20071110-linux.ogv"),
"credit":"<a href='http://pleinsudtv.com/index.php/casa/affichage-en-vignettes/93-casa-culture/245-logiciel-libre-linux-jm2l'>Le reportage Plein-sud TV</a>",
"caption":"JM2L 2007",
}


Loading…
Cancel
Save