# HG changeset patch # User veltr # Date 1355936932 -3600 # Node ID 00632d0dee47b4ffa5506009810197a9eb2d47ad # Parent b7017da5a7b55a7ccbc52c438d46e36190c7ad8c Corrected HD/SD and added link to level 1 diff -r b7017da5a7b5 -r 00632d0dee47 integration/content.html --- a/integration/content.html Mon Dec 17 18:19:36 2012 +0100 +++ b/integration/content.html Wed Dec 19 18:08:52 2012 +0100 @@ -32,7 +32,7 @@ var res = "SD"; } IriSP.video_url_transform = function(url) { - return url.replace(/([SH]D)\.[a-z0-9]+$/,res); + return url.replace(/[SH]D(\.[a-z0-9]+)$/,res + "$1"); } $(function() { IriSP.contentplayer({ diff -r b7017da5a7b5 -r 00632d0dee47 integration/tag.html --- a/integration/tag.html Mon Dec 17 18:19:36 2012 +0100 +++ b/integration/tag.html Wed Dec 19 18:08:52 2012 +0100 @@ -33,7 +33,7 @@ var res = "SD"; } IriSP.video_url_transform = function(url) { - return url.replace(/([SH]D)\.[a-z0-9]+$/,res); + return url.replace(/[SH]D(\.[a-z0-9]+)$/,res + "$1"); } $(function() { $("h1").text(tag); diff -r b7017da5a7b5 -r 00632d0dee47 src/theend/templates/theend/home.html --- a/src/theend/templates/theend/home.html Mon Dec 17 18:19:36 2012 +0100 +++ b/src/theend/templates/theend/home.html Wed Dec 19 18:08:52 2012 +0100 @@ -43,7 +43,7 @@ {% block main_content %}
- +
diff -r b7017da5a7b5 -r 00632d0dee47 src/theend/templates/theend/tag.html --- a/src/theend/templates/theend/tag.html Mon Dec 17 18:19:36 2012 +0100 +++ b/src/theend/templates/theend/tag.html Wed Dec 19 18:08:52 2012 +0100 @@ -33,7 +33,7 @@ var res = "SD"; } IriSP.video_url_transform = function(url) { - return url.replace(/([SH]D)\.[a-z0-9]+$/,res); + return url.replace(/[SH]D(\.[a-z0-9]+)$/,res + "$1"); } $(function() { $(".sdhdgroup").addClass(res); @@ -121,7 +121,7 @@ --> - + {% endblock %}