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);