diff -r bd3021d0d2e6 -r b620041cc891 web/static/js/LdtPlayer.js --- a/web/static/js/LdtPlayer.js Mon Jun 14 11:22:02 2010 +0200 +++ b/web/static/js/LdtPlayer.js Mon Jun 14 15:18:58 2010 +0200 @@ -148,10 +148,9 @@ function createPlayer(width,height,url,duration,streamerPath,MySwfPath) { - myUrlFragment = url.split("/"); - // - file = myUrlFragment[myUrlFragment.length-3]+"/"+myUrlFragment[myUrlFragment.length-2]+"/"+myUrlFragment[myUrlFragment.length-1]; - indexofff = url.lastIndexOf(file); + myUrlFragment = url.split(streamerPath); + file = myUrlFragment[1]; + alert(url+" = "+streamerPath+" + "+file); streamer = streamerPath; //alert(" StreamerPath : "+streamer+" - "+file); //alert(" SwfPath : "+MySwfPath);