--- 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({
--- 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);
--- 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 %}
<header class="home_header">
<a id="btnInfo" class="btn" href="#" title="info"></a>
- <a id="btnChoice" class="btn" href="#" title="Choice"></a>
+ <a id="btnChoice" class="btn" href="{{ BASE_URL }}transition.html" title="Choice"></a>
<form id="form_tag">
<input type="search" name="tag" placeholder="Rechercher" />
</form>
--- 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 @@
-->
<a id="btnFwd" class="btn txt_hidden" href="#" title="Forward"></a>
- <a id="btnChoice" class="btn" href="#" title="Choice"></a>
+ <a id="btnChoice" class="btn" href="{{ BASE_URL }}transition.html" title="Choice"></a>
{% endblock %}
</div>
</section>