# HG changeset patch # User samuel huron # Date 1276521538 -7200 # Node ID b620041cc891ce5d15cdbcce82d8a590dd450227 # Parent bd3021d0d2e6908952f0765463cbb8fd3981e9e5 update to augmented player (manage streamer) diff -r bd3021d0d2e6 -r b620041cc891 web/static/css/LdtPlayer.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/static/css/LdtPlayer.css Mon Jun 14 15:18:58 2010 +0200 @@ -0,0 +1,56 @@ + #demo-frame > div.demo { padding: 5px !important; }; + .iri-chapter{ + padding-top:10px; + padding-bottom:5px; + border-left:solid 1px #aaaaaa; + border-right:solid 1px #aaaaaa;' + } + + .tooltip { + display:none; + background:transparent url(css/jq-css/tooltip/white_arrow.png); + font-size:12px; + height:100px; + width:180px; + padding:10px; + padding-left:15px; + padding-right:15px; + color:#000; + } + + #Annotations{ + padding-left:5px; + width:470px; + float:left; + } + #ldtSaTitle{ + padding-top:2px; + padding-bottom:5px; + font-size:18px; + color:#FFF; + height:22p; + } + #ldtSaDescription{ + font-size:12px; + color:#FFF; + } + #ShowAnnotation{ + position:absolute; + z-index: 999; + padding:5px; + background:url(css/custom/images/transBlack.png); + } + + #ldtPlaceHolder{ + position:absolue; + float:none; + } + .ldtControl1{ + width:70px; + float:left; + } + .ldtControl2{ + padding-left:10px; + width:70px; + float:left; + } \ No newline at end of file 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);