# HG changeset patch # User hamidouk # Date 1326729430 -3600 # Node ID 0fc40e8cf0cd8da88de13760a32c376e46f111af # Parent db8697ff4594d7b7df8ca03e073671591d4d5a5b enabled polemictweet widget. diff -r db8697ff4594 -r 0fc40e8cf0cd 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,