# HG changeset patch
# User grandjoncl
# Date 1352729016 -3600
# Node ID e107b22256805bd992817fc0161f0611235eff51
# Parent a374c17243146c8fcfe941d323517ec73ecf75fb
configuration of embed code over
diff -r a374c1724314 -r e107b2225680 src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/embed_iframe.html
--- a/src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/embed_iframe.html Thu Nov 08 17:59:14 2012 +0100
+++ b/src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/embed_iframe.html Mon Nov 12 15:03:36 2012 +0100
@@ -12,6 +12,12 @@
@@ -64,14 +70,42 @@
live: true,
provider: "rtmp",
{% endif %}
- height: 300,
+ height: '{{ player_height }}',
autostart: true
- } {% if polemic == 'all' %},
+ } {% if polemic == 'all' or polemic == 'tweet' %},
{
type: "Polemic",
- annotation_type: false,
+ {% if polemic == 'all' %}
+ annotation_type: false,
+ {% endif %}
+ {% if polemic == 'tweet' %}
+ annotation_type: "tweet",
+ {% endif %}
defaultcolor: "#{{ polemic_defaultColor }}",
- foundcolor: "#{{ polemic_foundColor }}"
+ foundcolor: "#{{ polemic_foundColor }}",
+
+ polemics : [
+ {
+ "name" : "OK",
+ "keywords" : [ "++" ],
+ "color" : "#{{ polemic_okColor }}"
+ },
+ {
+ "name" : "KO",
+ "keywords" : [ "--" ],
+ "color" : "#{{ polemic_koColor }}"
+ },
+ {
+ "name" : "REF",
+ "keywords" : [ "==", "http://" ],
+ "color" : "#{{ polemic_refColor }}"
+ },
+ {
+ "name" : "Q",
+ "keywords" : [ "?" ],
+ "color" : "#{{ polemic_qColor }}"
+ }
+ ]
}
{% endif %}
{% if sparkline %}
@@ -119,6 +153,11 @@
api_endpoint_template: "{{WEB_URL}}{% url api_dispatch_list resource_name='annotations' api_name='1.0' %}",
api_method: "PUT",
after_send_timeout: 8000,
+ {% if tag_titles %}
+ tag_titles : tag_titles_array,
+ {% else %}
+ tag_titles : false,
+ {% endif %}
show_mic_record: {% if show_mic_record %}true{% else %}false{% endif %},
close_after_send: false,
slice_annotation_type: ["chap","découpage"],
diff -r a374c1724314 -r e107b2225680 src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/embed_popup.html
--- a/src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/embed_popup.html Thu Nov 08 17:59:14 2012 +0100
+++ b/src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/embed_popup.html Mon Nov 12 15:03:36 2012 +0100
@@ -11,7 +11,7 @@
{{ content_form.media.js }}
{% endblock %}
- {% block js_declaration %}
+ {% block js_declaration %}
- {% endblock %}
- {% block css_import %}
- {{ block.super }}
- {{ content_form.media.css }}
-
-
-
-
-
- {% endblock %}
+ {% endblock %}
+ {% block css_import %}
+ {{ block.super }}
+ {{ content_form.media.css }}
+
+
+
+
+
+ {% endblock %}
{% block content %}
-
{% trans 'Show Player' %}
-
-
-
-
+ + Slideshare +
+
+
+
+ + Tweet +
+ + Tagcloud +