equal
deleted
inserted
replaced
30 var res = window.localStorage.getItem("resolution") || "SD"; |
30 var res = window.localStorage.getItem("resolution") || "SD"; |
31 } else { |
31 } else { |
32 var res = "SD"; |
32 var res = "SD"; |
33 } |
33 } |
34 IriSP.video_url_transform = function(url) { |
34 IriSP.video_url_transform = function(url) { |
35 return url.replace(/([SH]D)\.[a-z0-9]+$/,res); |
35 return url.replace(/[SH]D(\.[a-z0-9]+)$/,res + "$1"); |
36 } |
36 } |
37 $(function() { |
37 $(function() { |
38 IriSP.contentplayer({ |
38 IriSP.contentplayer({ |
39 project_url: "http://theend-integ.ftinfo.fr/theend/ldt/cljson/id/" + project |
39 project_url: "http://theend-integ.ftinfo.fr/theend/ldt/cljson/id/" + project |
40 }); |
40 }); |