test/integration/index.htm
branchpopcorn-port
changeset 88 4de2f474ca01
parent 84 44ffcad678eb
child 209 63501d879bce
--- a/test/integration/index.htm	Tue Oct 18 15:38:30 2011 +0200
+++ b/test/integration/index.htm	Tue Oct 18 15:39:47 2011 +0200
@@ -41,11 +41,12 @@
 					};
 		
 		IriSP.loadLibs(IriSP.lib, config.gui.css, function() {});     
-		Popcorn = Popcorn("#video");    
+		pop = Popcorn("#video");    
 		dt = new IriSP.DataLoader();
 		ser = new IriSP.JSONSerializer(dt, "../test.json");
-		var player = new IriSP.PlayerWidget(Popcorn, config, ser);
-		ser.sync(IriSP.wrap(player, player.draw));
+		var player = new IriSP.PlayerWidget(pop, config, ser);
+		var annotationWidget = new IriSP.AnnotationsWidget(pop, config, ser);
+		ser.sync(function() { player.draw();  annotationWidget.draw(); });
 		});
 	</script>