web/static/res/js/incplayer.js
changeset 88 eeb0a6f3c07d
parent 80 46b897524cc4
child 93 7c37aaa2a8ae
--- a/web/static/res/js/incplayer.js	Fri Jan 18 17:57:30 2013 +0100
+++ b/web/static/res/js/incplayer.js	Fri Jan 18 18:50:53 2013 +0100
@@ -48,8 +48,6 @@
 		this.nextPage = nextPage;
 		this.videoDivId = videoDivId;
 
-		this.readUrlVideosIndex();
-
 		// Control
 		this.playButton = $("#" + playButtonId).get(0);
 		this.hdSdButton = $("#" + hdSdButtonId).get(0);
@@ -187,7 +185,7 @@
 			}
 
 			// Extention
-			v.src += "." + this.videoExt;
+			v.src += "." + /*this.videoExt*/ "mp4"; // TODO
 
 			// Set the final file
 			this.sequences[i] = v;
@@ -826,25 +824,6 @@
 		}
 		return "";
 	};
-
-	this.createUrlVideosIndex = function(index1, index2, index3)
-	{
-		return ((index1 << 16) | (index2 << 8) | index3) << 4;
-	}
-
-	this.readUrlVideosIndex = function()
-	{
-		var query = window.location.search.substring(1);
-		if (query.length < 0) {
-			return;
-		}
-
-		var number = parseInt(query);
-		number = this.createUrlVideosIndex(20, 30, 44);
-
-		console.log("query: " + number);
-		console.log(n);
-	};
 }
 
 var incPlayer = new IncPlayer();