update to augmented player (manage streamer)
authorsamuel huron <admin@cybunk.com>
Mon, 14 Jun 2010 15:18:58 +0200
changeset 39 b620041cc891
parent 38 bd3021d0d2e6
child 40 06e691528710
update to augmented player (manage streamer)
web/static/css/LdtPlayer.css
web/static/js/LdtPlayer.js
--- /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
--- 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);