enabled polemictweet widget.
authorhamidouk
Mon, 16 Jan 2012 16:57:10 +0100
changeset 401 0fc40e8cf0cd
parent 398 db8697ff4594
child 402 c68470699447
enabled polemictweet widget.
src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/partial/embed_player.html
--- a/src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/partial/embed_player.html	Mon Jan 16 15:42:06 2012 +0100
+++ b/src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/partial/embed_player.html	Mon Jan 16 16:57:10 2012 +0100
@@ -36,6 +36,24 @@
             container:'{{ player_id }}_embed',
             css:'{{WEB_URL}}{{LDT_MEDIA_PREFIX}}css/LdtPlayer.css',
             widgets: [
+            {type: "PolemicWidget",
+             width: {{ player_width }}, /* required for this widget */
+             height: 50,
+             metadata:{
+              format:'cinelab',
+              src:'{{ json_url }}',
+              type:'json'},
+             requires: [{
+							type: "TooltipWidget",
+							width: 180,
+							heigh: 160,
+							metadata : {
+								format:'cinelab',
+								src:'polemic_fr.json',
+								type:'empty'
+							}
+						 }]
+            },
             {type: "SparklineWidget",
              width: {{ player_width }}, /* required for this widget */
              height: 50,