diff -r ff11367d4955 -r e9400c80e1e4 web/player_embed.php --- a/web/player_embed.php Mon Oct 15 14:34:47 2012 +0200 +++ b/web/player_embed.php Tue Oct 02 14:40:14 2012 +0200 @@ -55,51 +55,45 @@ url: '?callback=?', format: 'ldt' }; - var _config = { - gui: { - width: 630, - container: 'LdtPlayer', - default_options: { - metadata: _metadata + var _config = { + width: 630, + container: 'LdtPlayer', + default_options: { + metadata: _metadata + }, + css:'', + widgets: [ + { + type: "JwpPlayer", + live: true, + height: 300, + provider: "rtmp" }, - css:'', - widgets: [ 1): ?> - { - type: "Polemic" + { + type: "Polemic" - , - polemics: [] - - }, + , + polemics: [] - { type: "Slider" }, - { - type: "Controller", - disable_annotate_btn: true - }, - { - type: "Segments", - annotation_type: [ "chap", "découpage" ] - }, - { type: "Arrow" }, - { - type: "Annotation", - annotation_type: [ "chap", "découpage" ] - }, - { type: "Tweet" }, - { type: "Mediafragment"} - ] - }, - player:{ - type:'jwplayer', // player type - live: true, - height: 300, - width: 630, - provider: "rtmp", - autostart: true, - metadata: _metadata - } + }, + + { type: "Slider" }, + { + type: "Controller", + disable_annotate_btn: true + }, + { + type: "Segments", + annotation_type: [ "chap", "découpage" ] + }, + { + type: "Annotation", + annotation_type: [ "chap", "découpage" ] + }, + { type: "Tweet" }, + { type: "Mediafragment"} + ] };