web/mashup/player_embed.php
changeset 210 ce76cecb5ca2
parent 205 dfda2d71838b
child 212 aa5f4f014168
--- a/web/mashup/player_embed.php	Mon Jul 04 10:44:39 2011 +0200
+++ b/web/mashup/player_embed.php	Mon Jul 04 18:44:47 2011 +0200
@@ -67,7 +67,7 @@
 
 	</style>
 	<script type="text/javascript">
-	  		// Configuration Polemical Timeline
+	    // Configuration Polemical Timeline	  		
   		<?php
   		if(is_array($config['metadata'])) {
   		    if(!$metadata_key) {
@@ -92,13 +92,13 @@
 					height:<?php echo($player_height); ?>,
 					heightmax:<?php echo($player_height); ?>,
 					duration:<?php echo($duration); ?>,
-					metadata:<?php echo($metadata); ?>
+					metadata:"<?php echo($url); ?>"
 					};
 	</script>
 	
   	<script type='text/javascript' src='../res/metadataplayer.polemic/src/js/polemic.js'></script>
   	<script type="text/javascript">
-  		jQuery..extend(__IriSP.lib,{jQueryToolTip:"../res/metadataplayer/res/js/jquery.tools.min.js"});
+  		jQuery.extend(__IriSP.lib,{jQueryToolTip:"../res/metadataplayer/res/js/jquery.tools.min.js"});
 	</script>
   	
 	<script type="text/javascript">