equal
deleted
inserted
replaced
25 metadata: _metadata |
25 metadata: _metadata |
26 }, |
26 }, |
27 css : '{{LDT_STATIC_URL}}ldt/metadataplayer/LdtPlayer-core.css', |
27 css : '{{LDT_STATIC_URL}}ldt/metadataplayer/LdtPlayer-core.css', |
28 widgets: [ |
28 widgets: [ |
29 { |
29 { |
30 type: "JwpPlayer", |
30 type: "AutoPlayer", |
31 live: true, |
31 live: true, |
32 height: 310, |
32 height: 310, |
33 width: 480, |
33 width: 480, |
34 provider: "rtmp", |
34 provider: "rtmp", |
35 streamer: function(_url) { |
35 streamer: function(_url) { |
42 } |
42 } |
43 }, |
43 }, |
44 { type: "Slider" }, |
44 { type: "Slider" }, |
45 { type: "Controller" }, |
45 { type: "Controller" }, |
46 { type: "Polemic" }, |
46 { type: "Polemic" }, |
47 { type: "Segments" }, |
47 { type: "MultiSegments" }, |
48 { |
|
49 type: "Annotation", |
|
50 search_on_tag_click: false, |
|
51 start_minimized: false |
|
52 }, |
|
53 { type: "Tweet" }, |
48 { type: "Tweet" }, |
54 { |
49 { |
55 type: "KnowledgeConcierge", |
50 type: "KnowledgeConcierge", |
56 container: "KcContainer", |
51 container: "KcContainer", |
57 kc_api_root: "{% url kc_proxy '' %}", |
52 kc_api_root: "{% url kc_proxy '' %}", |
59 height: 420, |
54 height: 420, |
60 sketch_path: '{% static "hp/tmgraph" %}', |
55 sketch_path: '{% static "hp/tmgraph" %}', |
61 project_id: "{{kc_id}}", |
56 project_id: "{{kc_id}}", |
62 topic_id: "{{topic_id}}", |
57 topic_id: "{{topic_id}}", |
63 related_api_endpoint: '{% url videos_recommended %}', |
58 related_api_endpoint: '{% url videos_recommended %}', |
|
59 related_count: 8, |
|
60 related_data_type: 'json', |
64 video_url_base: '{% url hp.views.show_video_details "" %}' |
61 video_url_base: '{% url hp.views.show_video_details "" %}' |
65 } |
62 } |
66 ] |
63 ] |
67 }; |
64 }; |
68 var _myPlayer = new IriSP.Metadataplayer(_config); |
65 var _myPlayer = new IriSP.Metadataplayer(_config); |