--- a/src/js/html-player.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/js/html-player.js Tue Oct 01 15:41:46 2013 +0200
@@ -88,7 +88,7 @@
getVolume();
media.trigger("loadedmetadata");
media.trigger("volumechange");
- })
+ });
videoEl.on("timeupdate", function() {
media.trigger("timeupdate", new IriSP.Model.Time(1000*mediaEl.currentTime));
@@ -97,7 +97,7 @@
videoEl.on("volumechange", function() {
getVolume();
media.trigger("volumechange");
- })
+ });
videoEl.on("play", function() {
media.trigger("play");
--- a/src/js/model.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/js/model.js Tue Oct 01 15:41:46 2013 +0200
@@ -54,7 +54,7 @@
isLocalURL = Model.isLocalURL = function(url) {
var matches = url.match(/^(\w+:)\/\/([^/]+)/);
if (matches) {
- return(matches[1] === document.location.protocol && matches[2] === document.location.host)
+ return(matches[1] === document.location.protocol && matches[2] === document.location.host);
}
return true;
},
@@ -81,7 +81,7 @@
fullTextRegexps = Model.fullTextRegexps = function(_text) {
var remsrc = "[\\" + removeChars.join("\\") + "]",
remrx = new RegExp(remsrc,"gm"),
- txt = _text.toLowerCase().replace(remrx,"")
+ txt = _text.toLowerCase().replace(remrx,""),
res = [],
charsrx = ns._(charsub).map(function(c) {
return new RegExp(c);
@@ -131,7 +131,7 @@
+ pad(2, d.getUTCDate())+'T'
+ pad(2, d.getUTCHours())+':'
+ pad(2, d.getUTCMinutes())+':'
- + pad(2, d.getUTCSeconds())+'Z'
+ + pad(2, d.getUTCSeconds())+'Z' ;
};
/*
@@ -154,7 +154,7 @@
_element.found = undefined;
});
_this.trigger("search-cleared");
- })
+ });
};
List.prototype = new Array();
@@ -172,7 +172,7 @@
ns._(this).forEach(function(_value, _key) {
_callback(_value, _key, _this);
});
- }
+ };
};
if (typeof Array.prototype.map === "undefined") {
@@ -181,7 +181,7 @@
return ns._(this).map(function(_value, _key) {
return _callback(_value, _key, _this);
});
- }
+ };
};
List.prototype.pluck = function(_key) {
@@ -261,9 +261,9 @@
}
this.searching = true;
this.trigger("search", _text);
- var rxsource = fullTextRegexps(_text)
- rgxp = new RegExp(rxsource,"im"),
- this.regexp = new RegExp(rxsource,"gim");
+ var rxsource = fullTextRegexps(_text),
+ rgxp = new RegExp(rxsource,"im");
+ this.regexp = new RegExp(rxsource,"gim");
var res = this.filter(function(_element, _k) {
var titlematch = rgxp.test(_element.title),
descmatch = rgxp.test(_element.description),
@@ -283,7 +283,7 @@
};
List.prototype.addId = function(_id) {
- var _el = this.directory.getElement(_id)
+ var _el = this.directory.getElement(_id);
if (!this.hasId(_id) && typeof _el !== "undefined") {
this.idIndex.push(_id);
Array.prototype.push.call(this, _el);
@@ -416,7 +416,7 @@
minutes : (Math.floor(_totalSeconds / 60) % 60),
seconds : _totalSeconds % 60,
milliseconds: this.milliseconds % 1000
- }
+ };
};
Time.prototype.add = function(_milliseconds) {
@@ -431,11 +431,11 @@
var _hms = this.getHMS(),
_res = '';
if (_hms.hours) {
- _res += _hms.hours + ':'
+ _res += _hms.hours + ':';
}
_res += pad(2, _hms.minutes) + ':' + pad(2, _hms.seconds);
if (showCs) {
- _res += "." + Math.floor(_hms.milliseconds / 100)
+ _res += "." + Math.floor(_hms.milliseconds / 100);
}
return _res;
};
@@ -473,7 +473,7 @@
Reference.prototype.isOrHasId = function(_idRef) {
if (this.isList) {
- return (ns._(this.id).indexOf(_idRef) !== -1)
+ return (ns._(this.id).indexOf(_idRef) !== -1);
} else {
return (this.id == _idRef);
}
@@ -485,7 +485,7 @@
this.elementType = 'element';
this.title = "";
this.description = "";
- this.__events = {}
+ this.__events = {};
if (typeof _source === "undefined") {
return;
}
@@ -567,14 +567,14 @@
this.on("timeupdate", function(_time) {
_this.currentTime = _time;
_this.getAnnotations().filter(function(_a) {
- return (_a.end <= _time || _a.begin > _time) && _a.playing
+ return (_a.end <= _time || _a.begin > _time) && _a.playing;
}).forEach(function(_a) {
_a.playing = false;
_a.trigger("leave");
_this.trigger("leave-annotation",_a);
});
_this.getAnnotations().filter(function(_a) {
- return _a.begin <= _time && _a.end > _time && !_a.playing
+ return _a.begin <= _time && _a.end > _time && !_a.playing;
}).forEach(function(_a) {
_a.playing = true;
_a.trigger("enter");
@@ -657,7 +657,7 @@
return ns._(_annTypes).indexOf(_annotation.getAnnotationType().id) !== -1;
});
} else {
- return new List(this.source.directory)
+ return new List(this.source.directory);
}
};
@@ -753,7 +753,7 @@
};
Annotation.prototype.getDuration = function() {
- return new Time(this.end.milliseconds - this.begin.milliseconds)
+ return new Time(this.end.milliseconds - this.begin.milliseconds);
};
/* */
@@ -820,7 +820,7 @@
this._updateTimes = function() {
_this.updateTimes();
_this.trigger("change");
- }
+ };
this.on("add", this._updateTimes);
this.on("remove", this._updateTimes);
};
@@ -909,19 +909,19 @@
Mashup.prototype.hasAnnotation = function(_annotation) {
return !!ns._(this.segments).find(function(_s) {
- return _s.annotation === _annotation
+ return _s.annotation === _annotation;
});
};
Mashup.prototype.getAnnotation = function(_annotation) {
return ns._(this.segments).find(function(_s) {
- return _s.annotation === _annotation
+ return _s.annotation === _annotation;
});
};
Mashup.prototype.getAnnotationById = function(_id) {
return ns._(this.segments).find(function(_s) {
- return _s.annotation.id === _id
+ return _s.annotation.id === _id;
});
};
@@ -940,8 +940,8 @@
Mashup.prototype.getMedias = function() {
var medias = new List(this.source.directory);
this.segments.forEach(function(_annotation) {
- medias.push(_annotation.getMedia())
- })
+ medias.push(_annotation.getMedia());
+ });
return medias;
};
@@ -952,7 +952,7 @@
return ns._(_annTypes).indexOf(_annotation.getAnnotationType().id) !== -1;
});
} else {
- return new List(this.source.directory)
+ return new List(this.source.directory);
}
};
@@ -986,7 +986,7 @@
var _this = this;
ns._(_config).forEach(function(_v, _k) {
_this[_k] = _v;
- })
+ });
this.callbackQueue = [];
this.contents = {};
this.get();
@@ -1020,7 +1020,7 @@
var _this = this;
ns._(this.contents).forEach(function(_value, _key) {
_callback.call(_this, _value, _key);
- })
+ });
};
Source.prototype.getElement = function(_elId) {
@@ -1093,7 +1093,7 @@
_annTypes = this.getAnnotationTypes(_global).searchByTitle(_title);
_annTypes.forEach(function(_annType) {
_res.addElements(_annType.getAnnotations(_global));
- })
+ });
return _res;
};
--- a/src/js/serializers/ldt.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/js/serializers/ldt.js Tue Oct 01 15:41:46 2013 +0200
@@ -44,7 +44,7 @@
"dc:contributor" : _data.contributor || _source.contributor || _data.creator || _source.creator,
"dc:duration" : _data.duration.milliseconds
}
- }
+ };
_dest.medias.push(_res);
var _list = {
id: IriSP.Model.getUID(),
@@ -77,9 +77,9 @@
}).map(function(_at) {
return {
"id-ref": _at.id
- }
+ };
})
- }
+ };
_dest.lists.push(_list);
_dest.views[0].contents.push(_data.id);
}
@@ -105,7 +105,7 @@
"dc:creator" : _data.creator || _source.creator,
"dc:contributor" : _data.contributor || _source.contributor || _data.creator || _source.creator,
}
- }
+ };
_dest.tags.push(_res);
}
},
@@ -126,7 +126,7 @@
"dc:modified" : IriSP.Model.dateToIso(_data.modified || _source.modified),
"dc:creator" : _data.creator || _source.creator,
"dc:contributor" : _data.contributor || _source.contributor || _data.creator || _source.creator,
- }
+ };
_dest["annotation-types"].push(_res);
_dest.views[0].annotation_types.push(_data.id);
}
@@ -197,18 +197,18 @@
"dc:contributor" : _data.contributor || _source.contributor || _data.creator || _source.creator,
// project : _source.projectId
}
- }
+ };
if (_source.regenerateTags) {
_res.tags = IriSP._(_data.keywords).map(function(_kw) {
return {
"id-ref": _source.__keywords[_kw.toLowerCase()].id
- }
+ };
});
} else {
_res.tags = IriSP._(_data.tag.id).map(function(_id) {
return {
"id-ref" : _id
- }
+ };
});
}
_res.content.title = _data.title || _res.content.title || "";
@@ -243,7 +243,7 @@
return _annotation.annotation.id;
}),
id: _data.id
- }
+ };
_dest.lists.push(_res);
}
}
@@ -283,13 +283,13 @@
id: IriSP.Model.getUID(),
title: kw,
regenerated: true
- }
+ };
}
});
});
IriSP._(_source.__keywords).each(function(kw) {
_this.types.tag.serializer(kw, _source, _res);
- })
+ });
}
_source.forEach(function(_list, _typename) {
if (typeof _this.types[_typename] !== "undefined") {
--- a/src/js/serializers/ldt_annotate.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/js/serializers/ldt_annotate.js Tue Oct 01 15:41:46 2013 +0200
@@ -23,7 +23,7 @@
created: _data.created,
creator: _data.creator
}
- }
+ };
},
deserializeAnnotation : function(_anndata, _source) {
var _ann = new IriSP.Model.Annotation(_anndata.id, _source);
--- a/src/js/utils.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/js/utils.js Tue Oct 01 15:41:46 2013 +0200
@@ -58,10 +58,10 @@
}
addToList(/(https?:\/\/)?[\w\d\-]+\.[\w\d\-]+\S+/gm, function(matches) {
- return '<a href="' + (matches[1] ? '' : 'http://') + matches[0] + '" target="_blank">'
+ return '<a href="' + (matches[1] ? '' : 'http://') + matches[0] + '" target="_blank">';
}, '</a>');
addToList(/@([\d\w]{1,15})/gm, function(matches) {
- return '<a href="http://twitter.com/' + matches[1] + '" target="_blank">'
+ return '<a href="http://twitter.com/' + matches[1] + '" target="_blank">';
}, '</a>');
addToList(/\*[^*]+\*/gm, '<b>', '</b>');
addToList(/[\n\r]+/gm, '', '<br />');
@@ -73,7 +73,7 @@
positions = IriSP._(positions)
.chain()
.uniq()
- .sortBy(function(p) { return parseInt(p) })
+ .sortBy(function(p) { return parseInt(p); })
.value();
var res = "", lastIndex = 0;
@@ -127,6 +127,6 @@
var _this = this,
noop = (function() {});
IriSP._(properties).each(function(p) {
- _this[p] = noop
+ _this[p] = noop;
});
-}
+};
--- a/src/js/widgets-container/metadataplayer.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/js/widgets-container/metadataplayer.js Tue Oct 01 15:41:46 2013 +0200
@@ -127,7 +127,7 @@
return;
}
var isloaded = !ns._(_this.widgets).any(function(w) {
- return !(w && w.isLoaded())
+ return !(w && w.isLoaded());
});
if (isloaded) {
_this.widgetsLoaded = true;
--- a/src/js/widgets-container/widget.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/js/widgets-container/widget.js Tue Oct 01 15:41:46 2013 +0200
@@ -73,7 +73,7 @@
} else {
var _mediaopts = {
is_mashup: _this.is_mashup || false
- }
+ };
_this.media = _this.source.getCurrentMedia(_mediaopts);
}
@@ -120,9 +120,9 @@
if (typeof _function !== "undefined") {
return function() {
return _function.apply(_this, Array.prototype.slice.call(arguments, 0));
- }
+ };
} else {
- console.log("Error, Unknown function IriSP.Widgets." + this.type + "." + _name)
+ console.log("Error, Unknown function IriSP.Widgets." + this.type + "." + _name);
}
};
--- a/src/widgets/AdaptivePlayer.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/widgets/AdaptivePlayer.js Tue Oct 01 15:41:46 2013 +0200
@@ -8,7 +8,7 @@
mime_type: "video/mp4",
normal_player: "HtmlPlayer",
fallback_player: "JwpPlayer"
-}
+};
IriSP.Widgets.AdaptivePlayer.prototype.draw = function() {
@@ -30,4 +30,4 @@
this.insertSubwidget(this.$, _opts);
-}
\ No newline at end of file
+};
\ No newline at end of file
--- a/src/widgets/Annotation.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/widgets/Annotation.js Tue Oct 01 15:41:46 2013 +0200
@@ -28,7 +28,7 @@
excerpt_from: "Excerpt from:",
untitled: "Untitled segment"
}
-}
+};
IriSP.Widgets.Annotation.prototype.template =
'{{#show_arrow}}<div class="Ldt-Annotation-Arrow"></div>{{/show_arrow}}'
@@ -58,7 +58,7 @@
search_on_tag_click: true,
show_social: true,
show_annotation_type: false
-}
+};
IriSP.Widgets.Annotation.prototype.draw = function() {
@@ -125,7 +125,7 @@
_this.$.find(".Ldt-Annotation-Creator").text(_annotation.creator);
}
if (_this.show_annotation_type) {
- _this.$.find(".Ldt-Annotation-Type").text(_annotation.getAnnotationType().title)
+ _this.$.find(".Ldt-Annotation-Type").text(_annotation.getAnnotationType().title);
}
_this.$.find(".Ldt-Annotation-Begin").text(_annotation.begin.toString());
_this.$.find(".Ldt-Annotation-End").text(_annotation.end.toString());
@@ -179,7 +179,7 @@
this.$.find(".Ldt-Annotation-MaxMinButton").click(this.functionWrapper("toggleSize"));
this.getWidgetAnnotations().forEach(function(_a) {
_a.on("enter", function() {
- drawAnnotation(_a)
+ drawAnnotation(_a);
});
});
this.source.getAnnotations().on("found", highlightTitleAndDescription);
@@ -193,26 +193,26 @@
uri: (typeof currentAnnotation.url !== "undefined"
? currentAnnotation.url
: (document.location.href.replace(/#.*$/,'') + '#id=' + currentAnnotation.id))
- }
+ };
});
-}
+};
IriSP.Widgets.Annotation.prototype.sendBounds = function() {
this.player.trigger("Annotation.boundsChanged",this.bounds);
-}
+};
IriSP.Widgets.Annotation.prototype.drawAnnotation = function(_annotation) {
this.lastAnnotation = _annotation.id;
-}
+};
IriSP.Widgets.Annotation.prototype.hide = function() {
this.$.slideUp();
-}
+};
IriSP.Widgets.Annotation.prototype.show = function() {
this.$.slideDown();
-}
+};
IriSP.Widgets.Annotation.prototype.toggleSize = function() {
if (this.minimized) {
@@ -220,14 +220,14 @@
} else {
this.minimize();
}
-}
+};
IriSP.Widgets.Annotation.prototype.minimize = function() {
this.minimized = true;
this.$.find('.Ldt-Annotation-Inner').addClass("Ldt-Annotation-Minimized");
-}
+};
IriSP.Widgets.Annotation.prototype.maximize = function() {
this.minimized = false;
this.$.find('.Ldt-Annotation-Inner').removeClass("Ldt-Annotation-Minimized");
-}
\ No newline at end of file
+};
\ No newline at end of file
--- a/src/widgets/AnnotationsList.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/widgets/AnnotationsList.js Tue Oct 01 15:41:46 2013 +0200
@@ -53,7 +53,7 @@
voice_annotation: "Annotation Vocale",
now_playing: "Lecture en cours..."
}
-}
+};
IriSP.Widgets.AnnotationsList.prototype.template =
'<div class="Ldt-AnnotationsListWidget">'
@@ -102,7 +102,7 @@
this.currentSource = this.player.loadMetadata(IriSP._.defaults({
"url" : _url
}, this.metadata));
-}
+};
IriSP.Widgets.AnnotationsList.prototype.ajaxMashup = function() {
var _currentTime = this.media.getCurrentTime();
@@ -119,7 +119,7 @@
"url" : _url
}, this.metadata));
}
-}
+};
IriSP.Widgets.AnnotationsList.prototype.refresh = function(_forceRedraw) {
_forceRedraw = (typeof _forceRedraw !== "undefined" && _forceRedraw);
@@ -146,7 +146,7 @@
/* Get the n annotations closest to current timecode */
_list = _list.sortBy(function(_annotation) {
return Math.abs((_annotation.begin + _annotation.end) / 2 - _currentTime);
- }).slice(0, this.limit_count)
+ }).slice(0, this.limit_count);
}
if (this.newest_first) {
_list = _list.sortBy(function(_annotation) {
@@ -233,10 +233,10 @@
height: 1,
events: {
onPause: function() {
- _this.$.find(".Ldt-AnnotationsList-Play[data-annotation-id=" + _annotation.id + "]").text(_this.l10n.voice_annotation)
+ _this.$.find(".Ldt-AnnotationsList-Play[data-annotation-id=" + _annotation.id + "]").text(_this.l10n.voice_annotation);
},
onPlay: function() {
- _this.$.find(".Ldt-AnnotationsList-Play[data-annotation-id=" + _annotation.id + "]").text(_this.l10n.now_playing)
+ _this.$.find(".Ldt-AnnotationsList-Play[data-annotation-id=" + _annotation.id + "]").text(_this.l10n.now_playing);
}
}
});
@@ -312,7 +312,7 @@
}
}
return _list.length;
-}
+};
IriSP.Widgets.AnnotationsList.prototype.draw = function() {
@@ -372,7 +372,7 @@
if (this.refresh_interval) {
window.setInterval(function() {
- _this.currentSource.get()
+ _this.currentSource.get();
}, this.refresh_interval);
}
--- a/src/widgets/Arrow.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/widgets/Arrow.js Tue Oct 01 15:41:46 2013 +0200
@@ -15,7 +15,7 @@
stroke_color: "#b7b7b7",
stroke_width: 1.5,
animation_speed: 20
-}
+};
IriSP.Widgets.Arrow.prototype.draw = function() {
this.height = this.arrow_height + this.base_height;
@@ -33,7 +33,7 @@
fill: this.fill_url ? ( 'url(' + this.fill_url + ')' ) : this.fill_color
});
this.moveToX(0);
-}
+};
IriSP.Widgets.Arrow.prototype.drawAt = function(_x) {
_x = Math.max(0, Math.min(_x, this.width));
@@ -53,7 +53,7 @@
this.svgArrow.attr({
path: _d
});
-}
+};
IriSP.Widgets.Arrow.prototype.moveToX = function(_x) {
this.targetX = Math.max(0, Math.min(_x, this.width));
@@ -61,14 +61,14 @@
this.animInterval = window.setInterval(
this.functionWrapper("increment"),
40
- )
+ );
}
this.increment();
-}
+};
IriSP.Widgets.Arrow.prototype.moveToTime = function(_t) {
this.moveToX(this.width * _t / this.media.duration);
-}
+};
IriSP.Widgets.Arrow.prototype.increment = function() {
if (typeof this.currentX === "undefined") {
@@ -85,4 +85,4 @@
this.animInterval = undefined;
}
this.drawAt(this.currentX);
-}
+};
--- a/src/widgets/AutoPlayer.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/widgets/AutoPlayer.js Tue Oct 01 15:41:46 2013 +0200
@@ -6,7 +6,7 @@
IriSP.Widgets.AutoPlayer.prototype.defaults = {
default_type: "JwpPlayer"
-}
+};
IriSP.Widgets.AutoPlayer.prototype.draw = function() {
@@ -52,7 +52,7 @@
}
if (typeof _opts.type === "undefined") {
- _opts.type = this.default_type
+ _opts.type = this.default_type;
}
if (_opts.type === "AdaptivePlayer") {
@@ -73,4 +73,4 @@
this.insertSubwidget(this.$, _opts);
-}
\ No newline at end of file
+};
\ No newline at end of file
--- a/src/widgets/Controller.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/widgets/Controller.js Tue Oct 01 15:41:46 2013 +0200
@@ -11,7 +11,7 @@
disable_annotate_btn: false,
disable_search_btn: false,
disable_ctrl_f: false
-}
+};
IriSP.Widgets.Controller.prototype.template =
'<div class="Ldt-Ctrl">'
@@ -225,7 +225,7 @@
.addClass("Ldt-Ctrl-Sound-Mute");
} else {
_soundCtl.attr("title", this.l10n.mute)
- .addClass(_vol < .5 ? "Ldt-Ctrl-Sound-Half" : "Ldt-Ctrl-Sound-Full" )
+ .addClass(_vol < .5 ? "Ldt-Ctrl-Sound-Half" : "Ldt-Ctrl-Sound-Full" );
}
this.$volumeBar.slider("value", _muted ? 0 : 100 * _vol);
};
--- a/src/widgets/CreateAnnotation.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/widgets/CreateAnnotation.js Tue Oct 01 15:41:46 2013 +0200
@@ -47,7 +47,7 @@
after_send_timeout: 0,
close_after_send: false,
tag_prefix: "#"
-}
+};
IriSP.Widgets.CreateAnnotation.prototype.messages = {
en: {
@@ -92,7 +92,7 @@
"polemic??": "Question",
"polemic==": "Référence"
}
-}
+};
IriSP.Widgets.CreateAnnotation.prototype.template =
'{{#show_slice}}<div class="Ldt-CreateAnnotation-Slice"></div>{{/show_slice}}'
@@ -247,7 +247,7 @@
this.onMdpEvent("CreateAnnotation.toggle","toggle");
this.$.find("form").submit(this.functionWrapper("onSubmit"));
-}
+};
IriSP.Widgets.CreateAnnotation.prototype.showScreen = function(_screenName) {
this.$.find('.Ldt-CreateAnnotation-' + _screenName).show()
@@ -272,7 +272,7 @@
if (this.minimize_annotation_widget) {
this.player.trigger("Annotation.minimize");
}
-}
+};
IriSP.Widgets.CreateAnnotation.prototype.hide = function() {
if (this.recorder) {
@@ -285,7 +285,7 @@
this.player.trigger("Annotation.maximize");
}
}
-}
+};
IriSP.Widgets.CreateAnnotation.prototype.toggle = function() {
if (!this.always_visible) {
@@ -295,7 +295,7 @@
this.show();
}
}
-}
+};
IriSP.Widgets.CreateAnnotation.prototype.addKeyword = function(_keyword) {
var _field = this.$.find(".Ldt-CreateAnnotation-Description"),
@@ -307,13 +307,13 @@
);
_field.val(_contents.replace(/\s{2,}/g,' ').replace(/(^\s+|\s+$)/g,''));
this.onDescriptionChange();
-}
+};
IriSP.Widgets.CreateAnnotation.prototype.pauseOnWrite = function() {
if (this.pause_on_write && !this.media.getPaused()) {
this.media.pause();
}
-}
+};
IriSP.Widgets.CreateAnnotation.prototype.onDescriptionChange = function() {
var _field = this.$.find(".Ldt-CreateAnnotation-Description"),
@@ -334,7 +334,7 @@
});
this.pauseOnWrite();
return !!_contents;
-}
+};
IriSP.Widgets.CreateAnnotation.prototype.onTitleChange = function() {
var _field = this.$.find(".Ldt-CreateAnnotation-Title"),
@@ -347,7 +347,7 @@
}
this.pauseOnWrite();
return !!_contents;
-}
+};
IriSP.Widgets.CreateAnnotation.prototype.onCreatorChange = function() {
@@ -361,7 +361,7 @@
}
this.pauseOnWrite();
return !!_contents;
-}
+};
/* Fonction effectuant l'envoi des annotations */
IriSP.Widgets.CreateAnnotation.prototype.onSubmit = function() {
@@ -484,5 +484,5 @@
this.showScreen('Wait');
return false;
-}
+};
--- a/src/widgets/DailymotionPlayer.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/widgets/DailymotionPlayer.js Tue Oct 01 15:41:46 2013 +0200
@@ -6,7 +6,7 @@
IriSP.Widgets.DailymotionPlayer.prototype.defaults = {
aspect_ratio: 14/9
-}
+};
IriSP.Widgets.DailymotionPlayer.prototype.draw = function() {
@@ -30,35 +30,35 @@
_media.getCurrentTime = function() {
return new IriSP.Model.Time(1000*_player.getCurrentTime());
- }
+ };
_media.getVolume = function() {
return _player.getVolume() / 100;
- }
+ };
_media.getPaused = function() {
return _pauseState;
- }
+ };
_media.getMuted = function() {
return _player.isMuted();
- }
+ };
_media.setCurrentTime = function(_milliseconds) {
_seekPause = _pauseState;
return _player.seekTo(_milliseconds / 1000);
- }
+ };
_media.setVolume = function(_vol) {
return _player.setVolume(Math.floor(_vol*100));
- }
+ };
_media.mute = function() {
return _player.mute();
- }
+ };
_media.unmute = function() {
return _player.unMute();
- }
+ };
_media.play = function() {
return _player.playVideo();
- }
+ };
_media.pause = function() {
return _player.pauseVideo();
- }
+ };
_player.addEventListener("onStateChange", "onDailymotionStateChange");
_player.addEventListener("onVideoProgress", "onDailymotionVideoProgress");
@@ -66,7 +66,7 @@
_player.cueVideoByUrl(_this.video);
_media.trigger("loadedmetadata");
- }
+ };
window.onDailymotionStateChange = function(_state) {
switch(_state) {
@@ -84,11 +84,11 @@
_media.trigger("seeked");
break;
}
- }
+ };
window.onDailymotionVideoProgress = function(_progress) {
_media.trigger("timeupdate", new IriSP.Model.Time(_progress.mediaTime * 1000));
- }
+ };
var params = {
"allowScriptAccess" : "always",
@@ -101,4 +101,4 @@
swfobject.embedSWF("http://www.dailymotion.com/swf?chromeless=1&enableApi=1", this.container, this.width, this.height, "8", null, null, params, atts);
-}
\ No newline at end of file
+};
\ No newline at end of file
--- a/src/widgets/HelloWorld.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/widgets/HelloWorld.js Tue Oct 01 15:41:46 2013 +0200
@@ -7,13 +7,13 @@
IriSP.Widgets.HelloWorld = function(player, config) {
console.log("Calling IriSP.Widget's constructor from IriSP.HelloWorldWidget");
IriSP.Widgets.Widget.call(this, player, config);
-}
+};
IriSP.Widgets.HelloWorld.prototype = new IriSP.Widgets.Widget();
IriSP.Widgets.HelloWorld.prototype.defaults = {
text: "world"
-}
+};
IriSP.Widgets.HelloWorld.prototype.template =
'<div class="Ldt-HelloWorld"><p>{{l10n.Hello}} {{text}}</p><p>Looks like we have {{source.contents.annotation.length}} annotations in this feed</p></div>';
@@ -25,9 +25,9 @@
"en" : {
"Hello" : "Hello,"
}
-}
+};
IriSP.Widgets.HelloWorld.prototype.draw = function() {
this.renderTemplate();
console.log("HelloWorldWidget was drawn");
-}
\ No newline at end of file
+};
\ No newline at end of file
--- a/src/widgets/HtmlMashupPlayer.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/widgets/HtmlMashupPlayer.js Tue Oct 01 15:41:46 2013 +0200
@@ -8,7 +8,7 @@
IriSP.Widgets.HtmlMashupPlayer.prototype.defaults = {
aspect_ratio: 14/9,
background: "#333333"
-}
+};
IriSP.Widgets.HtmlMashupPlayer.prototype.draw = function() {
@@ -153,7 +153,7 @@
media.loaded = true;
media.trigger("loadedmetadata");
media.trigger("volumechange");
- })
+ });
videoSelector.on("timeupdate", function() {
media.trigger("timeupdate", new IriSP.Model.Time(1000*videoElement.currentTime));
@@ -162,7 +162,7 @@
videoSelector.on("volumechange", function() {
getVolume();
media.trigger("volumechange");
- })
+ });
videoSelector.on("play", function() {
media.trigger("play");
@@ -179,12 +179,12 @@
videoSelector.on("seeked", function() {
media.trigger("seeked");
});
- }
+ };
media.hide = function() {
videoElement = undefined;
sel.find("#" + videoid).remove();
- }
+ };
// Binding functions to Media Element Functions
@@ -342,4 +342,4 @@
changeCurrentAnnotation();
});
-}
\ No newline at end of file
+};
\ No newline at end of file
--- a/src/widgets/HtmlPlayer.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/widgets/HtmlPlayer.js Tue Oct 01 15:41:46 2013 +0200
@@ -6,10 +6,10 @@
IriSP.Widgets.HtmlPlayer.prototype.defaults = {
-}
+};
IriSP.Widgets.HtmlPlayer.prototype.draw = function() {
IriSP.htmlPlayer(this.media, this.$, this);
-}
\ No newline at end of file
+};
\ No newline at end of file
--- a/src/widgets/JwpPlayer.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/widgets/JwpPlayer.js Tue Oct 01 15:41:46 2013 +0200
@@ -5,7 +5,7 @@
IriSP.Widgets.JwpPlayer.prototype = new IriSP.Widgets.Widget();
IriSP.Widgets.JwpPlayer.prototype.defaults = {
-}
+};
IriSP.Widgets.JwpPlayer.prototype.draw = function() {
@@ -113,10 +113,10 @@
_media.volume = _event.volume / 100;
_media.trigger("volumechange");
}
- }
+ };
_player = _player.setup(_opts);
this.jwplayer = _player;
-}
\ No newline at end of file
+};
\ No newline at end of file
--- a/src/widgets/KnowledgeConcierge.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/widgets/KnowledgeConcierge.js Tue Oct 01 15:41:46 2013 +0200
@@ -14,7 +14,7 @@
use_word_boundaries: false,
related_data_type: 'json', // SET TO "jsonp" FOR CROSS-DOMAIN OPERATION
related_count: 8,
-}
+};
IriSP.Widgets.KnowledgeConcierge.prototype.messages = {
"fr": {
@@ -29,7 +29,7 @@
for_keywords_: "for keyword(s):",
no_matching_videos: "No matching videos"
}
-}
+};
IriSP.Widgets.KnowledgeConcierge.prototype.template =
'<div class="Ldt-Kc-Slider"></div><canvas class="Ldt-Kc-Canvas" />'
@@ -55,7 +55,7 @@
height: _canvasHeight
});
var _this = this,
- _pjsfiles = IriSP._(this.sketch_files).map(function(_f) { return _this.sketch_path + "/" + _f }),
+ _pjsfiles = IriSP._(this.sketch_files).map(function(_f) { return _this.sketch_path + "/" + _f; }),
_selectedText = "",
currentNodesList = "",
relatedCache = {},
@@ -83,7 +83,7 @@
description: media.description.replace(/(\n|\r|\r\n)/mg,' ').replace(/(^.{120,140})[\s].+$/m,'$1…'),
duration: new IriSP.Model.Time(media.duration).toString(),
escaped_keyword: encodeURIComponent(keywords.split(",")[0])
- }
+ };
_html += Mustache.to_html(relatedTemplate, _tmpldata);
if (i % 2) {
_html += '</div><div class="Ldt-Kc-Row">';
@@ -164,7 +164,7 @@
.value();
renderRelated();
}
- })
+ });
} else {
renderRelated();
}
@@ -291,7 +291,7 @@
triggerSearch();
}
}
- }
+ };
var uselessfuncts = [
"selectnode", "selectedge", "topicnode","group_shapes",
"allbackup", "allretrieve", "new_topic", "pedia", "set_mode",
@@ -325,9 +325,9 @@
if (keywmatch) {
this.player.on("widgets-loaded", function() {
triggerSearch(decodeURIComponent(keywmatch[1]));
- })
+ });
}
bindJavascript();
-}
+};
--- a/src/widgets/MashupPlayer.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/widgets/MashupPlayer.js Tue Oct 01 15:41:46 2013 +0200
@@ -12,7 +12,7 @@
split_screen: false,
player_type: "PopcornPlayer",
background: "#000000"
-}
+};
IriSP.Widgets.MashupPlayer.prototype.draw = function() {
var _this = this,
@@ -27,7 +27,7 @@
_timedelta,
medialist = _mashup.getMedias();
- _mashup.paused = (!this.autostart && !this.autoplay)
+ _mashup.paused = (!this.autostart && !this.autoplay);
function changeCurrentAnnotation() {
if (_timecode >= _mashup.duration) {
@@ -198,7 +198,7 @@
_seeking = false;
_seekdiv.hide();
}
- })
+ });
_media.on("play", function() {
if (_media === _currentMedia) {
_mashup.trigger("play");
@@ -255,4 +255,4 @@
_mashup.on("loadedmetadata", changeCurrentAnnotation);
-}
\ No newline at end of file
+};
\ No newline at end of file
--- a/src/widgets/MediaList.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/widgets/MediaList.js Tue Oct 01 15:41:46 2013 +0200
@@ -16,7 +16,7 @@
all_media: "All videos",
other_media: "Other videos"
}
-}
+};
IriSP.Widgets.MediaList.prototype.defaults = {
default_thumbnail : "http://ldt.iri.centrepompidou.fr/static/site/ldt/css/imgs/video_sequence.png",
@@ -54,7 +54,7 @@
this.player.trigger("search.noMatchFound");
}
}
-}
+};
IriSP.Widgets.MediaList.prototype.draw = function() {
this.$.addClass("Ldt-MediaListWidget")
@@ -63,7 +63,7 @@
if (typeof this.media.getMedias === "function") {
this.media.on("enter-annotation", function(_a) {
_this.redraw(_a.getMedia());
- })
+ });
}
this.redraw();
};
@@ -81,9 +81,9 @@
left: _scale * _annotation.begin,
width: _scale * (_annotation.end - _annotation.begin),
color: ( typeof _annotation.color !== "undefined" && _annotation.color ? _annotation.color : _this.default_color )
- }
- })
-}
+ };
+ });
+};
IriSP.Widgets.MediaList.prototype.redraw = function(_media) {
if (typeof _media !== "undefined") {
@@ -121,7 +121,7 @@
title: _media.title,
description: _media.description,
segments: _this.getSegments(_media)
- })
+ });
}).join("");
this.$.find('.Ldt-MediaList-OtherList').html(_html);
} else {
--- a/src/widgets/Mediafragment.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/widgets/Mediafragment.js Tue Oct 01 15:41:46 2013 +0200
@@ -9,11 +9,11 @@
if (/^#/.test(_msg.data)) {
_this.setWindowHash(_msg.data);
}
- })
+ });
};
this.onMdpEvent("Mediafragment.setHashToAnnotation","setHashToAnnotation");
this.blocked = false;
-}
+};
IriSP.Widgets.Mediafragment.prototype = new IriSP.Widgets.Widget();
@@ -23,14 +23,14 @@
this.getWidgetAnnotations().forEach(function(_annotation) {
_annotation.on("click", function() {
_this.setHashToAnnotation(_annotation.id);
- })
+ });
});
if (this.media.loadedMetadata) {
this.goToHash();
} else {
this.onMediaEvent("loadedmetadata","goToHash");
}
-}
+};
IriSP.Widgets.Mediafragment.prototype.setWindowHash = function(_hash) {
if (typeof window.history !== "undefined" && typeof window.history.replaceState !== "undefined") {
@@ -38,7 +38,7 @@
} else {
document.location.hash = _hash;
}
-}
+};
IriSP.Widgets.Mediafragment.prototype.getLastHash = function() {
var _tab = document.location.hash.replace(/^#/,'').split('&');
@@ -49,7 +49,7 @@
_tab.push(this.last_hash_key + '=' + this.last_hash_value);
}
return '#' + _tab.join('&');
-}
+};
IriSP.Widgets.Mediafragment.prototype.goToHash = function() {
if (document.location.hash !== this.getLastHash()) {
@@ -72,15 +72,15 @@
}
}
}
-}
+};
IriSP.Widgets.Mediafragment.prototype.setHashToAnnotation = function(_annotationId) {
this.setHash( 'id', _annotationId );
-}
+};
IriSP.Widgets.Mediafragment.prototype.setHashToTime = function() {
this.setHash( 't', this.media.getCurrentTime().getSeconds() );
-}
+};
IriSP.Widgets.Mediafragment.prototype.setHash = function(_key, _value) {
if (!this.blocked && (this.last_hash_key !== _key || this.last_hash_value !== _value)) {
@@ -89,11 +89,11 @@
var _hash = this.getLastHash();
this.setWindowHash(_hash);
if (window.parent !== window) {
- window.parent.postMessage(_hash,"*")
+ window.parent.postMessage(_hash,"*");
}
this.block();
}
-}
+};
IriSP.Widgets.Mediafragment.prototype.unblock = function() {
if (typeof this.blockTimeout !== "undefined") {
@@ -101,7 +101,7 @@
}
this.blockTimeout = undefined;
this.blocked = false;
-}
+};
IriSP.Widgets.Mediafragment.prototype.block = function() {
if (typeof this.blockTimeout !== "undefined") {
@@ -109,4 +109,4 @@
}
this.blocked = true;
this.blockTimeout = window.setTimeout(this.functionWrapper("unblock"), 1500);
-}
+};
--- a/src/widgets/MultiSegments.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/widgets/MultiSegments.js Tue Oct 01 15:41:46 2013 +0200
@@ -9,7 +9,7 @@
annotation_start_minimized: true,
annotation_show_annotation_type: true,
show_all: false
-}
+};
IriSP.Widgets.MultiSegments.prototype.draw = function() {
var _this = this,
@@ -24,7 +24,7 @@
if (/^annotation_/.test(_k)) {
annotationopts[_k.replace(/^annotation_/,"")] = _v;
}
- })
+ });
this.source.getAnnotationTypes().forEach(function(_anntype) {
var segments = _anntype.getAnnotations().filter(function(_ann) {
return _ann.getDuration() > 0;
@@ -54,7 +54,7 @@
this.annotationWidget.slideDown();
}
}
- }
+ };
line.segmentWidget
@@ -96,7 +96,7 @@
lines.push(line);
}
});
- var _annotationWidgets = _this.$.find(".Ldt-MultiSegments-Annotation")
+ var _annotationWidgets = _this.$.find(".Ldt-MultiSegments-Annotation");
function checkVisibilities(_time) {
if (!_this.show_all && currentLine && !currentLine.hasSegmentsNow()) {
@@ -119,4 +119,4 @@
}
this.onMediaEvent("timeupdate", checkVisibilities);
-}
\ No newline at end of file
+};
\ No newline at end of file
--- a/src/widgets/PlaceholderPlayer.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/widgets/PlaceholderPlayer.js Tue Oct 01 15:41:46 2013 +0200
@@ -8,7 +8,7 @@
IriSP.Widgets.PlaceholderPlayer.prototype.defaults = {
autostart: false
-}
+};
IriSP.Widgets.PlaceholderPlayer.prototype.template = '<div class="Ldt-PlaceholderPlayer">(loading)</div>';
@@ -66,4 +66,4 @@
media.trigger("setplay");
}
-}
\ No newline at end of file
+};
\ No newline at end of file
--- a/src/widgets/PopcornPlayer.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/widgets/PopcornPlayer.js Tue Oct 01 15:41:46 2013 +0200
@@ -7,7 +7,7 @@
/* A Popcorn-based player for HTML5 Video, Youtube and Vimeo */
IriSP.Widgets.PopcornPlayer.prototype.defaults = {
-}
+};
IriSP.Widgets.PopcornPlayer.prototype.draw = function() {
@@ -112,7 +112,7 @@
getVolume();
_media.trigger("loadedmetadata");
_media.trigger("volumechange");
- })
+ });
_popcorn.on("timeupdate", function() {
_media.trigger("timeupdate", new IriSP.Model.Time(1000*_popcorn.currentTime()));
@@ -121,7 +121,7 @@
_popcorn.on("volumechange", function() {
getVolume();
_media.trigger("volumechange");
- })
+ });
_popcorn.on("play", function() {
_media.trigger("play");
@@ -135,4 +135,4 @@
_media.trigger("seeked");
});
-}
\ No newline at end of file
+};
\ No newline at end of file
--- a/src/widgets/Renkan.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/widgets/Renkan.js Tue Oct 01 15:41:46 2013 +0200
@@ -8,14 +8,14 @@
annotation_regexp: /player\/([a-zA-Z0-9_-]+)\/.*id=([a-zA-Z0-9_-]+)/,
tag_regexp: /search=([^&=]+)/,
min_duration: 5000
-}
+};
IriSP.Widgets.Renkan.prototype.messages = {
"fr": {
},
"en": {
}
-}
+};
IriSP.Widgets.Renkan.prototype.template =
'<div class="Ldt-Renkan-Container"><div class="Ldt-Renkan"></div></div>';
@@ -52,7 +52,7 @@
annotation: _ann,
begin: _ann.begin - _preroll,
end: _ann.end + _preroll
- }
+ };
_this.node_times.push(_nt);
var _annselected = false,
_nodeselected = false;
@@ -90,10 +90,10 @@
if (_tagmatch) {
_node.on("select", function() {
_this.source.getAnnotations().search(_tagmatch[1]);
- })
+ });
_node.on("unselect", function() {
_this.source.getAnnotations().search("");
- })
+ });
}
});
Rkns.jsonIO(this.renkan, {
@@ -114,7 +114,7 @@
return false;
}
});
-}
+};
IriSP.Widgets.Renkan.prototype.onTimeupdate = function(_time) {
IriSP._(this.node_times).each(function(_nt) {
@@ -129,4 +129,4 @@
}
}
});
-}
+};
--- a/src/widgets/Segments.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/widgets/Segments.js Tue Oct 01 15:41:46 2013 +0200
@@ -23,7 +23,7 @@
IriSP.Widgets.Segments.prototype.annotationTemplate =
'<div class="Ldt-Segments-Segment Ldt-TraceMe" trace-info="segment-id:{{id}}, media-id:{{media_id}}, from:{{from}}, to:{{to}}" segment-text="{{text}}"'
- + 'style="top:{{top}}px; height:{{height}}px; left:{{left}}px; width:{{width}}px; background:{{medcolor}}" data-base-color="{{color}}" data-low-color="{{lowcolor}}" data-medium-color="{{medcolor}}"></div>'
+ + 'style="top:{{top}}px; height:{{height}}px; left:{{left}}px; width:{{width}}px; background:{{medcolor}}" data-base-color="{{color}}" data-low-color="{{lowcolor}}" data-medium-color="{{medcolor}}"></div>';
IriSP.Widgets.Segments.prototype.draw = function() {
@@ -58,7 +58,7 @@
_fulltext = _annotation.title + ( _annotation.description ? ( '<br/>' + _annotation.description ) : '' ),
line = IriSP._(lines).find(function(line) {
return !IriSP._(line.annotations).find(function(a) {
- return a.begin < _annotation.end && a.end > _annotation.begin
+ return a.begin < _annotation.end && a.end > _annotation.begin;
});
});
if (!line) {
@@ -165,11 +165,11 @@
_segment.css("background", _segment.attr("data-medium-color")).removeClass("found");
});
});
-}
+};
IriSP.Widgets.Segments.prototype.onTimeupdate = function(_time) {
var _x = Math.floor( this.width * _time / this.media.duration);
this.$.find('.Ldt-Segments-Position').css({
left: _x + "px"
- })
-}
\ No newline at end of file
+ });
+};
\ No newline at end of file
--- a/src/widgets/Slice.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/widgets/Slice.js Tue Oct 01 15:41:46 2013 +0200
@@ -15,7 +15,7 @@
IriSP.Widgets.Slice.prototype.template =
'<div class="Ldt-Slice"></div>'
- + '{{#show_arrow}}<div class="Ldt-Slice-Arrow"></div>{{/show_arrow}}'
+ + '{{#show_arrow}}<div class="Ldt-Slice-Arrow"></div>{{/show_arrow}}';
IriSP.Widgets.Slice.prototype.draw = function() {
@@ -40,7 +40,7 @@
max: this.max,
change: function(event, ui) {
if (_this.arrow) {
- _this.arrow.moveToTime((ui.values[0]+ui.values[1])/2)
+ _this.arrow.moveToTime((ui.values[0]+ui.values[1])/2);
}
if (_this.onBoundsChanged) {
_this.onBoundsChanged(ui.values[0],ui.values[1]);
@@ -74,8 +74,8 @@
IriSP.Widgets.Slice.prototype.show = function() {
this.$slider.show();
-}
+};
IriSP.Widgets.Slice.prototype.hide = function() {
this.$slider.hide();
-}
+};
--- a/src/widgets/Slider.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/widgets/Slider.js Tue Oct 01 15:41:46 2013 +0200
@@ -16,7 +16,7 @@
};
IriSP.Widgets.Slider.prototype.template =
- '<div class="Ldt-Slider"></div><div class="Ldt-Slider-Time">00:00</div>'
+ '<div class="Ldt-Slider"></div><div class="Ldt-Slider-Time">00:00</div>';
IriSP.Widgets.Slider.prototype.draw = function() {
@@ -69,7 +69,7 @@
IriSP.Widgets.Slider.prototype.onTimeupdate = function(_time) {
this.$slider.slider("value",_time);
this.player.trigger("Arrow.updatePosition",{widget: this.type, time: _time});
-}
+};
IriSP.Widgets.Slider.prototype.onMouseover = function() {
if (this.minimize_timeout) {
@@ -82,7 +82,7 @@
this.maximized = true;
}
}
-}
+};
IriSP.Widgets.Slider.prototype.onMouseout = function() {
this.$time.hide();
@@ -100,7 +100,7 @@
_this.timeoutId = false;
}, this.minimize_timeout);
}
-}
+};
IriSP.Widgets.Slider.prototype.animateToHeight = function(_height) {
this.$slider.stop().animate(
@@ -115,19 +115,19 @@
function() {
IriSP.jQuery(this).css("overflow","visible");
});
-}
+};
IriSP.Widgets.Slider.prototype.calculateSliderCss = function(_size) {
return {
height: _size + "px",
"margin-top": (this.minimized_height - _size) + "px"
};
-}
+};
IriSP.Widgets.Slider.prototype.calculateHandleCss = function(_size) {
return {
height: (2 + _size) + "px",
width: (2 + _size) + "px",
"margin-left": -Math.ceil(2 + _size / 2) + "px"
- }
-}
\ No newline at end of file
+ };
+};
\ No newline at end of file
--- a/src/widgets/Slideshare.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/widgets/Slideshare.js Tue Oct 01 15:41:46 2013 +0200
@@ -2,14 +2,14 @@
IriSP.Widgets.Slideshare = function(player, config) {
IriSP.Widgets.Widget.call(this, player, config);
-}
+};
IriSP.Widgets.Slideshare.prototype = new IriSP.Widgets.Widget();
IriSP.Widgets.Slideshare.prototype.defaults = {
annotation_type: "slide",
sync: true,
-}
+};
IriSP.Widgets.Slideshare.prototype.messages = {
fr: {
@@ -18,7 +18,7 @@
en: {
slides_ : "Slides"
}
-}
+};
IriSP.Widgets.Slideshare.prototype.template =
'<div class="Ldt-SlideShare"><h2>{{l10n.slides_}}</h2><hr /><div class="Ldt-SlideShare-Container"></div></div>';
@@ -35,7 +35,7 @@
var _id = IriSP.Model.getUID(),
_params = {
allowScriptAccess: "always"
- }
+ },
_atts = {
id: _id
},
@@ -69,7 +69,7 @@
_embedObject = null,
_oembedCache = {},
_lastEmbedded = "",
- _this = this
+ _this = this,
$container = this.$.find(".Ldt-SlideShare-Container");
this.embed_width = this.embed_width || $container.innerWidth();
@@ -111,7 +111,7 @@
}
_lastPres = _presentation;
- })
- })
+ });
+ });
}
-}
+};
--- a/src/widgets/Social.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/widgets/Social.js Tue Oct 01 15:41:46 2013 +0200
@@ -3,7 +3,7 @@
IriSP.Widgets.Social = function(player, config) {
IriSP.Widgets.Widget.call(this, player, config);
ZeroClipboard.setMoviePath( IriSP.getLib('zeroClipboardSwf') );
-}
+};
IriSP.Widgets.Social.prototype = new IriSP.Widgets.Widget();
@@ -15,7 +15,7 @@
show_fb: true,
show_gplus: true,
show_mail: true
-}
+};
IriSP.Widgets.Social.prototype.template =
'<span class="Ldt-Social">{{#show_url}}<div class="Ldt-Social-Url-Container"><a href="#" draggable="true" target="_blank" class="Ldt-Social-Square Ldt-Social-Url Ldt-TraceMe" title="{{l10n.share_link}}">'
@@ -38,7 +38,7 @@
share_link: "Share hypertext link",
copy: "Copy"
}
-}
+};
IriSP.Widgets.Social.prototype.draw = function() {
this.renderTemplate();
@@ -63,7 +63,7 @@
return false;
});
this.updateUrls(this.url, this.text);
-}
+};
IriSP.Widgets.Social.prototype.toggleCopy = function() {
var _pop = this.$.find(".Ldt-Social-UrlPop");
@@ -85,7 +85,7 @@
} else {
this.clip.hide();
}
-}
+};
IriSP.Widgets.Social.prototype.updateUrls = function(_url, _text) {
this.url = _url;
@@ -94,4 +94,4 @@
this.$.find(".Ldt-Social-Twitter").attr("href", "https://twitter.com/intent/tweet?" + IriSP.jQuery.param({ url: _url, text: _text }));
this.$.find(".Ldt-Social-Gplus").attr("href", "https://plus.google.com/share?" + IriSP.jQuery.param({ url: _url, title: _text }));
this.$.find(".Ldt-Social-Mail").attr("href", "mailto:?" + IriSP.jQuery.param({ subject: _text, body: _text + ": " + _url }));
-}
+};
--- a/src/widgets/Sparkline.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/widgets/Sparkline.js Tue Oct 01 15:41:46 2013 +0200
@@ -48,7 +48,7 @@
_d = IriSP._(_y).reduce(function(_memo, _v, _k) {
return _memo + ( _k
? 'C' + (_k * _width) + ' ' + _y[_k - 1] + ' ' + (_k * _width) + ' ' + _v + ' ' + ((_k + .5) * _width) + ' ' + _v
- : 'M0 ' + _v + 'L' + (.5*_width) + ' ' + _v )
+ : 'M0 ' + _v + 'L' + (.5*_width) + ' ' + _v );
},'') + 'L' + this.width + ' ' + _y[_y.length - 1],
_d2 = _d + 'L' + this.width + ' ' + this.height + 'L0 ' + this.height;
@@ -78,7 +78,7 @@
});
this.onMediaEvent("timeupdate","onTimeupdate");
-}
+};
IriSP.Widgets.Sparkline.prototype.onTimeupdate = function(_time) {
var _x = Math.floor( this.width * _time / this.media.duration);
@@ -88,4 +88,4 @@
this.ligneProgress.attr({
"path" : "M" + _x + " 0L" + _x + " " + this.height
});
-}
+};
--- a/src/widgets/SpelSyncHtml.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/widgets/SpelSyncHtml.js Tue Oct 01 15:41:46 2013 +0200
@@ -1,13 +1,13 @@
IriSP.Widgets.SpelSyncHtml = function(player, config) {
console.log("Calling IriSP.Widget's constructor from IriSP.HelloWorldWidget");
IriSP.Widgets.Widget.call(this, player, config);
-}
+};
IriSP.Widgets.SpelSyncHtml.prototype = new IriSP.Widgets.Widget();
IriSP.Widgets.SpelSyncHtml.prototype.defaults = {
src: "about:blank"
-}
+};
IriSP.Widgets.SpelSyncHtml.prototype.template =
'<div class="Ldt-SpelSyncHtml"><iframe src="{{src}}" {{#width}}width="{{width}}"{{/width}} {{#height}}height="{{height}}"{{/height}}</div>';
@@ -21,6 +21,6 @@
if (a.content && a.content.data && a.content.data.ref_text) {
frame.src = basesrc + '#' + a.content.data.ref_text;
}
- })
- })
-}
\ No newline at end of file
+ });
+ });
+};
\ No newline at end of file
--- a/src/widgets/Tagcloud.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/widgets/Tagcloud.js Tue Oct 01 15:41:46 2013 +0200
@@ -1,7 +1,7 @@
IriSP.Widgets.Tagcloud = function(player, config) {
IriSP.Widgets.Widget.call(this, player, config);
this.stopwords = IriSP._.uniq([].concat(this.custom_stopwords).concat(this.stopword_lists[this.stopword_language]));
-}
+};
IriSP.Widgets.Tagcloud.prototype = new IriSP.Widgets.Widget();
@@ -22,7 +22,7 @@
segment_annotation_type: false,
min_font_size: 10,
max_font_size: 26
-}
+};
IriSP.Widgets.Tagcloud.prototype.stopword_lists = {
"fr" : [
@@ -36,7 +36,7 @@
'get', 'here', 'http', 'like', 'more', 'one', 'our', 'she', 'that', 'the', 'their', 'then', 'there',
'they', 'this', 'very', 'what', 'when', 'where', 'who', 'why', 'will', 'with', 'www', 'you', 'your'
]
-}
+};
IriSP.Widgets.Tagcloud.prototype.draw = function() {
@@ -45,12 +45,12 @@
this.source.getAnnotationsByTypeTitle(this.segment_annotation_type).forEach(function(_a) {
_a.on("enter", function() {
_this.redraw(_a.begin, _a.end);
- })
+ });
});
} else {
this.redraw();
}
-}
+};
IriSP.Widgets.Tagcloud.prototype.redraw = function(_from, _to) {
var _urlRegExp = /https?:\/\/[0-9a-zA-Z\.%\/-_]+/g,
@@ -62,7 +62,7 @@
if (typeof _from !== "undefined" && typeof _to !== "undefined") {
_annotations = _annotations.filter(function(_annotation) {
return _annotation.begin >= _from && _annotation.end <= _to;
- })
+ });
}
_annotations.forEach(function(_annotation) {
@@ -76,7 +76,7 @@
if (IriSP._(_this.stopwords).indexOf(_word) == -1 && (!_this.exclude_pattern || !_this.exclude_pattern.test(_word))) {
_words[_word] = 1 + (_words[_word] || 0);
}
- })
+ });
});
_words = IriSP._(_words)
.chain()
@@ -84,7 +84,7 @@
return {
"word" : _k,
"count" : _v
- }
+ };
})
.filter(function(_v) {
return _v.count > 2;
@@ -109,7 +109,7 @@
});
this.source.getAnnotations().on("search", this.functionWrapper("onSearch"));
this.source.getAnnotations().on("search-cleared", this.functionWrapper("onSearch"));
-}
+};
IriSP.Widgets.Tagcloud.prototype.onSearch = function(searchString) {
searchString = typeof searchString !== "undefined" ? searchString : '';
@@ -125,4 +125,4 @@
_el.html(_txt);
}
});
-}
+};
--- a/src/widgets/Title.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/widgets/Title.js Tue Oct 01 15:41:46 2013 +0200
@@ -1,12 +1,12 @@
IriSP.Widgets.Title = function(player, config) {
IriSP.Widgets.Widget.call(this, player, config);
-}
+};
IriSP.Widgets.Title.prototype = new IriSP.Widgets.Widget();
IriSP.Widgets.Title.prototype.defaults = {
media_title: false
-}
+};
IriSP.Widgets.Title.prototype.template =
'<div class="Ldt-TitleWidget"><h2>{{#media_title}}{{media.title}}{{/media_title}}{{^media_title}}{{source.title}}{{/media_title}}</h2></div>';
@@ -14,4 +14,4 @@
IriSP.Widgets.Title.prototype.draw = function() {
this.renderTemplate();
-}
\ No newline at end of file
+};
\ No newline at end of file
--- a/src/widgets/Trace.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/widgets/Trace.js Tue Oct 01 15:41:46 2013 +0200
@@ -1,7 +1,7 @@
IriSP.Widgets.Trace = function(player, config) {
IriSP.Widgets.Widget.call(this, player, config);
-}
+};
IriSP.Widgets.Trace.prototype = new IriSP.Widgets.Widget();
@@ -13,7 +13,7 @@
default_subject: "IRI",
tracer: null,
extend: false
-}
+};
IriSP.Widgets.Trace.prototype.draw = function() {
if (typeof window.tracemanager === "undefined") {
@@ -37,7 +37,7 @@
IriSP._(_medialisteners).each(function(_ms, _listener) {
var _f = function(_arg) {
_this.eventHandler(_listener, _arg);
- }
+ };
if (_ms) {
_f = IriSP._.throttle(_f, _ms);
}
@@ -47,7 +47,7 @@
IriSP._(_annlisteners).each(function(_ms, _listener) {
var _f = function(_arg) {
_this.eventHandler(_listener, _arg);
- }
+ };
if (_ms) {
_f = IriSP._.throttle(_f, _ms);
}
@@ -93,15 +93,15 @@
}
_this.eventHandler('UIEvent', _data);
});
-}
+};
IriSP.Widgets.Trace.prototype.eventHandler = function(_listener, _arg) {
var _traceName = 'Mdp_';
if (typeof _arg == "string" || typeof _arg == "number") {
- _arg = { "value" : _arg }
+ _arg = { "value" : _arg };
}
if (typeof _arg == "undefined") {
- _arg = {}
+ _arg = {};
}
switch(_listener) {
case 'UIEvent':
@@ -127,4 +127,4 @@
if (this.js_console && typeof window.console !== "undefined" && typeof console.log !== "undefined") {
console.log("tracer.trace('" + _traceName + "', " + JSON.stringify(_arg) + ");");
}
-}
\ No newline at end of file
+};
\ No newline at end of file
--- a/src/widgets/Tweet.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/widgets/Tweet.js Tue Oct 01 15:41:46 2013 +0200
@@ -27,7 +27,7 @@
],
annotation_type: "tweet",
pin_at_start: false
-}
+};
IriSP.Widgets.Tweet.prototype.messages = {
"fr": {
@@ -50,7 +50,7 @@
video_time: "Video time: ",
show_original: "Show original"
}
-}
+};
IriSP.Widgets.Tweet.prototype.template =
'<div class="Ldt-Tweet-Widget"><div class="Ldt-Tweet-Inner"><div class="Ldt-Tweet-PinClose-Buttons">'
@@ -71,7 +71,7 @@
var _this = this;
this.$.find(".Ldt-Tweet-Pin").click(function() {
_this.pinned = !_this.pinned;
- var _el = IriSP.jQuery(this)
+ var _el = IriSP.jQuery(this);
if (_this.pinned) {
_el.addClass("active").attr("title",_this.l10n.dont_keep_visible);
_this.cancelTimeout();
@@ -89,7 +89,7 @@
_this.show(_annotation);
});
});
-}
+};
IriSP.Widgets.Tweet.prototype.show = function(_tweet) {
if (typeof _tweet !== "undefined" && typeof _tweet.source !== "undefined") {
@@ -97,7 +97,7 @@
[
/#(\w+)/gm,
function(matches) {
- return '<a href="http://twitter.com/search?q=%23' + matches[1] + '" target="_blank">'
+ return '<a href="http://twitter.com/search?q=%23' + matches[1] + '" target="_blank">';
},
'</a>'
]
@@ -147,22 +147,22 @@
} else {
this.hide();
}
-}
+};
IriSP.Widgets.Tweet.prototype.hide = function() {
this.player.trigger("Annotation.maximize");
this.$.slideUp();
this.cancelTimeout();
-}
+};
IriSP.Widgets.Tweet.prototype.cancelTimeout = function() {
if (typeof this.hide_timer !== "undefined") {
window.clearTimeout(this.hide_timer);
this.hide_timer = undefined;
}
-}
+};
IriSP.Widgets.Tweet.prototype.hideTimeout = function() {
this.cancelTimeout();
this.hide_timer = window.setTimeout(this.functionWrapper("hide"), this.hide_timeout);
-}
+};
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test/json/extrait-celestins-paris.json Tue Oct 01 15:41:46 2013 +0200
@@ -0,0 +1,1747 @@
+{
+ "format": "http://advene.org/ns/cinelab/",
+ "url": "2013-05-03_14-42-57",
+ "annotation_types": [
+ {
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "id": "performance"
+ },
+ {
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "id": "discussion"
+ },
+ {
+ "id": "interpretation"
+ },
+ {
+ "id": "textnote"
+ },
+ {
+ "meta": {
+ "trim": "drop",
+ "track": "primary"
+ },
+ "id": "a_supprimer"
+ }
+ ],
+ "medias": [
+ {
+ "url": "original.mkv",
+ "origin": 0,
+ "meta": {
+ "profile": "Video Camera",
+ "audio_channels": 2,
+ "ratio": "16_9",
+ "audio_samplerate": 44100,
+ "width": 1920,
+ "is_original": true,
+ "height": 1080,
+ "video_height": 1080,
+ "duration": 11381600,
+ "video_codec": "h264",
+ "video_width": 1920,
+ "video_framerate": 30,
+ "is_main": true
+ },
+ "id": "primary",
+ "unit": "ms"
+ }
+ ],
+ "meta": {
+ "dc:contributor": "Pierre Gandar",
+ "oeuvre": "Chatte sur un toit brûlant",
+ "dc:language": "fr",
+ "dc:creator": "Pierre Gandar",
+ "dc:title": "Début du travail de précision sans texte à la main de l'ACTE 1",
+ "director": "Claudia STAVISKY",
+ "dc:created": "2013-05-03T14:42:58.997423",
+ "media_type": "video",
+ "recorder": "easycast-c4",
+ "dc:modified": "2013-05-03T14:42:58.997423"
+ },
+ "annotations": [
+ {
+ "begin": 395671,
+ "end": 464700,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick",
+ "commentaire": "on peut entendre le bruit de la douche couler en fond",
+ "ref_text": "7-1"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "performance",
+ "id": "a1"
+ },
+ {
+ "begin": 464700,
+ "end": 530686,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick",
+ "commentaire": "Margaret doit enlever sa robe directement",
+ "ref_text": "7-3"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "discussion",
+ "id": "a2"
+ },
+ {
+ "begin": 530686,
+ "end": 599885,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick",
+ "commentaire": "Margaret doit sortir plein de robes pour choisir la bonne",
+ "ref_text": "7-3"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "discussion",
+ "id": "a3"
+ },
+ {
+ "begin": 599885,
+ "end": 613095,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick",
+ "commentaire": "",
+ "ref_text": "7-1"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "performance",
+ "id": "a4"
+ },
+ {
+ "begin": 613095,
+ "end": 793747,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick",
+ "commentaire": "Margaret ne sais pas encore que Brick est sous la douche. Elle voit juste qu'il n'est pas là",
+ "ref_text": "7-1"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "discussion",
+ "id": "a5"
+ },
+ {
+ "begin": 757236,
+ "end": 757236,
+ "media": "primary",
+ "content": {
+ "mimetype": "text/plain",
+ "data": "la metteur en scène et son assistant se mettent d'accord sur leurs interventions respectives"
+ },
+ "type": "textnote",
+ "id": "a6"
+ },
+ {
+ "begin": 793747,
+ "end": 1186636,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick",
+ "commentaire": "",
+ "ref_text": "7-1"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "performance",
+ "id": "a7"
+ },
+ {
+ "begin": 1011862,
+ "end": 1426818,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "intervention MES,scène reprise",
+ "description": "Margaret est seule dans la chambre et essaye les robes les une apres les autres",
+ "titre": "référence texte: 7-9"
+ }
+ },
+ "type": "interpretation",
+ "id": "a8"
+ },
+ {
+ "begin": 1186636,
+ "end": 1235242,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick",
+ "commentaire": "",
+ "ref_text": "7-1"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "performance",
+ "id": "a9"
+ },
+ {
+ "begin": 1199874,
+ "end": 1199874,
+ "media": "primary",
+ "content": {
+ "mimetype": "text/plain",
+ "data": "il fait tellement chaud que Margaret pourrait avoir envie de rejoindre Brick sous la douche pour se mouiller un peu"
+ },
+ "type": "textnote",
+ "id": "a10"
+ },
+ {
+ "begin": 1235242,
+ "end": 1400176,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick",
+ "commentaire": "",
+ "ref_text": "7-1"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "performance",
+ "id": "a11"
+ },
+ {
+ "begin": 1400176,
+ "end": 1526455,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick",
+ "commentaire": "",
+ "ref_text": "7-9"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "discussion",
+ "id": "a12"
+ },
+ {
+ "begin": 1426818,
+ "end": 1709951,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "intervention MES",
+ "description": "Margaret doit aller droit dans son discours pour arriver directement à la chute. Margaret aime le fait que malgré la richesse de grand papa il n'est pas de caractère gentleman farmer mais reste bouseux",
+ "titre": "référence texte:7-9"
+ }
+ },
+ "type": "interpretation",
+ "id": "a13"
+ },
+ {
+ "begin": 1526455,
+ "end": 1561095,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick",
+ "commentaire": "",
+ "ref_text": "7-9"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "performance",
+ "id": "a14"
+ },
+ {
+ "begin": 1561095,
+ "end": 1621120,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick",
+ "commentaire": "",
+ "ref_text": "7-9"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "discussion",
+ "id": "a15"
+ },
+ {
+ "begin": 1621120,
+ "end": 1683246,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick",
+ "commentaire": "",
+ "ref_text": "7-9"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "performance",
+ "id": "a16"
+ },
+ {
+ "begin": 1683246,
+ "end": 1888196,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick",
+ "commentaire": "",
+ "ref_text": "8-4"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "discussion",
+ "id": "a17"
+ },
+ {
+ "begin": 1709951,
+ "end": 2006444,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "intervention MES",
+ "description": "Brick ne doit pas se douter de ce que Margaret va lui parler, il faut qu'il se laisse ceuillir",
+ "titre": "référence texte:8-2"
+ }
+ },
+ "type": "interpretation",
+ "id": "a18"
+ },
+ {
+ "begin": 1888196,
+ "end": 2102802,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick",
+ "commentaire": "discution autour de la variation de sens due à la traduction française du texte",
+ "ref_text": "8-3"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "discussion",
+ "id": "a19"
+ },
+ {
+ "begin": 2006444,
+ "end": 2285519,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "Adaptation du texte,intervention MES",
+ "description": "transformation de \"mais enfin, tu sais très bien ou ils veulent en venir\" en \"mais enfin, tu sais tès bien ce qu'ils sont entrain de manigancer",
+ "titre": "référence texte:8-3"
+ }
+ },
+ "type": "interpretation",
+ "id": "a20"
+ },
+ {
+ "begin": 2102802,
+ "end": 2256635,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick",
+ "commentaire": "",
+ "ref_text": "7-9"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "performance",
+ "id": "a21"
+ },
+ {
+ "begin": 2256635,
+ "end": 2639292,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick",
+ "commentaire": "",
+ "ref_text": "8-4"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "discussion",
+ "id": "a22"
+ },
+ {
+ "begin": 2285519,
+ "end": 2805381,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "Décision,intervention MES",
+ "description": "nous prenons la décision que Brick apprend par maggie à cet instant que son père à bel et bien le cancer. Il sait que son père attend les résultats médicaux mais ne les connait pas contrairement à sa femme. Ce dont il prend conscience ce n'est pas qu'il à un cancer mais plutot qu'il va mourir.",
+ "titre": "référence texte:8-4"
+ }
+ },
+ "type": "interpretation",
+ "id": "a23"
+ },
+ {
+ "begin": 2530917,
+ "end": 2530917,
+ "media": "primary",
+ "content": {
+ "mimetype": "text/plain",
+ "data": "npon seulement le père à un cancer mais en phase terminale qui plus est"
+ },
+ "type": "textnote",
+ "id": "a24"
+ },
+ {
+ "begin": 2639292,
+ "end": 2787233,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick",
+ "commentaire": "",
+ "ref_text": "7-9"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "performance",
+ "id": "a25"
+ },
+ {
+ "begin": 2787233,
+ "end": 2829912,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick",
+ "commentaire": "",
+ "ref_text": "9-4"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "discussion",
+ "id": "a26"
+ },
+ {
+ "begin": 2805381,
+ "end": 2859459,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "intervention MES",
+ "description": "margaret doit INFORMER Brick",
+ "titre": "référence texte:9-4"
+ }
+ },
+ "type": "interpretation",
+ "id": "a27"
+ },
+ {
+ "begin": 2829912,
+ "end": 2904270,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick",
+ "commentaire": "",
+ "ref_text": "9-4"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "performance",
+ "id": "a28"
+ },
+ {
+ "begin": 2859459,
+ "end": 2942850,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "performance d'un(e) comédien(ne)",
+ "description": "l'annonce de la mort du père, cela vaut bien un verre d'alcool",
+ "titre": "référence texte:9-3"
+ }
+ },
+ "type": "interpretation",
+ "id": "a29"
+ },
+ {
+ "begin": 2904270,
+ "end": 2979356,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick",
+ "commentaire": "",
+ "ref_text": "9-4"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "discussion",
+ "id": "a30"
+ },
+ {
+ "begin": 2942850,
+ "end": 3147555,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "performance d'un(e) comédien(ne)",
+ "description": "Maggie doit être hyper terrienne",
+ "titre": "9-4"
+ }
+ },
+ "type": "interpretation",
+ "id": "a31"
+ },
+ {
+ "begin": 2979356,
+ "end": 3129321,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick",
+ "commentaire": "",
+ "ref_text": "7-9"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "performance",
+ "id": "a32"
+ },
+ {
+ "begin": 3129321,
+ "end": 3219632,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick",
+ "commentaire": "",
+ "ref_text": "9-6"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "discussion",
+ "id": "a33"
+ },
+ {
+ "begin": 3147555,
+ "end": 3251208,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "intervention MES,scène reprise",
+ "description": "\"il y a tellement de lumière ici\" veut dire qu'il fait vraiment trop chaud",
+ "titre": "référence texte:8-4"
+ }
+ },
+ "type": "interpretation",
+ "id": "a34"
+ },
+ {
+ "begin": 3219632,
+ "end": 3330448,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick",
+ "commentaire": "",
+ "ref_text": "9-4"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "performance",
+ "id": "a35"
+ },
+ {
+ "begin": 3251208,
+ "end": 3425646,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "performance d'un(e) comédien(ne)",
+ "description": "Brick est allongé sur le canapé et Margaret continue de se changer puis vient jouer avec Brick",
+ "titre": "référence texte:9-4"
+ }
+ },
+ "type": "interpretation",
+ "id": "a36"
+ },
+ {
+ "begin": 3330448,
+ "end": 3633961,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick",
+ "commentaire": "",
+ "ref_text": "9-4"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "performance",
+ "id": "a37"
+ },
+ {
+ "begin": 3425646,
+ "end": 3672545,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "Improvisation,performance d'un(e) comédien(ne)",
+ "description": "Brick retourne sa femme pour l'écarter d'au dessus de lui. destination finale:le sol. Avant de continuer de jouer ailleurs",
+ "titre": "9-6"
+ }
+ },
+ "type": "interpretation",
+ "id": "a38"
+ },
+ {
+ "begin": 3633961,
+ "end": 3763714,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick",
+ "commentaire": "",
+ "ref_text": "9-6"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "discussion",
+ "id": "a39"
+ },
+ {
+ "begin": 3672545,
+ "end": 4340357,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "intervention MES",
+ "description": "Maggie ne doit pas toucher son mari",
+ "titre": "référence texte:9-6"
+ }
+ },
+ "type": "interpretation",
+ "id": "a40"
+ },
+ {
+ "begin": 3763714,
+ "end": 3814504,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick",
+ "commentaire": "",
+ "ref_text": "9-6"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "discussion",
+ "id": "a41"
+ },
+ {
+ "begin": 3814504,
+ "end": 4096820,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick,Mae",
+ "commentaire": "on avance dans la scène à l'arrivée de Mae. Cette démarche car une comédienne doit partir au milieu de la reptition. il faut donc exploiter le temps de répétion de cette comédienne au maximum",
+ "ref_text": "16-7"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "performance",
+ "id": "a42"
+ },
+ {
+ "begin": 4096820,
+ "end": 4181933,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick,Mae",
+ "commentaire": "",
+ "ref_text": "15-5"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "discussion",
+ "id": "a43"
+ },
+ {
+ "begin": 4181933,
+ "end": 4213293,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick,Mae",
+ "commentaire": "",
+ "ref_text": "14-11"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "performance",
+ "id": "a44"
+ },
+ {
+ "begin": 4213293,
+ "end": 4401327,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick",
+ "commentaire": "",
+ "ref_text": "16-2"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "discussion",
+ "id": "a45"
+ },
+ {
+ "begin": 4340357,
+ "end": 4627420,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "intervention MES",
+ "description": "Maggie et Brick doivent vraiment s'enerver sur cette chose aussi stupide qu'est le fait d'écrire un mot à grand papa pour son anniversaire",
+ "titre": "référence texte:16-2"
+ }
+ },
+ "type": "interpretation",
+ "id": "a46"
+ },
+ {
+ "begin": 4401327,
+ "end": 4570221,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick",
+ "commentaire": "",
+ "ref_text": "14-11"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "performance",
+ "id": "a47"
+ },
+ {
+ "begin": 4570221,
+ "end": 4611926,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick,Mae",
+ "commentaire": "",
+ "ref_text": "19-8"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "performance",
+ "id": "a48"
+ },
+ {
+ "begin": 4611926,
+ "end": 4845338,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick,Mae",
+ "commentaire": "",
+ "ref_text": "16-15"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "discussion",
+ "id": "a49"
+ },
+ {
+ "begin": 4627420,
+ "end": 5004398,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "intervention MES",
+ "description": "La tension doit monter monter monter puis se cristaliser. Tout doit se figer pour l'entrée de Mae. puis l'energie repart. C'est comme si Mae devait rentrer dans une chaudière",
+ "titre": "référence texte:16-12"
+ }
+ },
+ "type": "interpretation",
+ "id": "a50"
+ },
+ {
+ "begin": 4845338,
+ "end": 4991136,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick,Mae",
+ "commentaire": "",
+ "ref_text": "14-9"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "performance",
+ "id": "a51"
+ },
+ {
+ "begin": 4991136,
+ "end": 5107553,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick,Mae",
+ "commentaire": "",
+ "ref_text": "16-7"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "discussion",
+ "id": "a52"
+ },
+ {
+ "begin": 5004398,
+ "end": 5400967,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "intervention MES",
+ "description": "Ce que dit Brick à sa femme ne doit absolument pas être entendu par les reste de la famille. ",
+ "titre": "16-2"
+ }
+ },
+ "type": "interpretation",
+ "id": "a53"
+ },
+ {
+ "begin": 5107553,
+ "end": 5366232,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick,Mae",
+ "commentaire": "",
+ "ref_text": "14-9"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "performance",
+ "id": "a54"
+ },
+ {
+ "begin": 5265510,
+ "end": 5265510,
+ "media": "primary",
+ "content": {
+ "mimetype": "text/plain",
+ "data": "le bordel en place, traduit par les affaires de Maggie traînant et jonchées sur le sol dessine un caractere adolescant et riche. Habitué à ce qu'on passe toujours derrère eux"
+ },
+ "type": "textnote",
+ "id": "a55"
+ },
+ {
+ "begin": 5366232,
+ "end": 5577043,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick,Mae",
+ "commentaire": "",
+ "ref_text": "16-13"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "discussion",
+ "id": "a56"
+ },
+ {
+ "begin": 5400967,
+ "end": 5911738,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "intervention MES",
+ "description": "Margaret doit en mettre plein la gueule à Mae",
+ "titre": "référence texte:16-13"
+ }
+ },
+ "type": "interpretation",
+ "id": "a57"
+ },
+ {
+ "begin": 5577043,
+ "end": 5807491,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick,Mae",
+ "commentaire": "",
+ "ref_text": "15-2"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "performance",
+ "id": "a58"
+ },
+ {
+ "begin": 5807491,
+ "end": 5829293,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick,Mae",
+ "commentaire": "",
+ "ref_text": "16-15"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "discussion",
+ "id": "a59"
+ },
+ {
+ "begin": 5829293,
+ "end": 5950406,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick,Mae",
+ "commentaire": "",
+ "ref_text": "16-16"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "performance",
+ "id": "a60"
+ },
+ {
+ "begin": 5911738,
+ "end": 6052180,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "performance d'un(e) comédien(ne)",
+ "description": "impossible pour Maggie d'être compatissante puis sortir ses griffes. Il faut qu'elle enfonce Mae de sa haine la plus profonde",
+ "titre": "référence texte:17-1"
+ }
+ },
+ "type": "interpretation",
+ "id": "a61"
+ },
+ {
+ "begin": 5950406,
+ "end": 6106013,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick,Mae",
+ "commentaire": "",
+ "ref_text": "16-18"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "performance",
+ "id": "a62"
+ },
+ {
+ "begin": 6052180,
+ "end": 6308448,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "performance d'un(e) comédien(ne)",
+ "description": "Maggie est vraiment ignoble mais magnifique dans cette méchanceté. On la soutiendrai dans dans sa haine",
+ "titre": "17-7"
+ }
+ },
+ "type": "interpretation",
+ "id": "a63"
+ },
+ {
+ "begin": 6106013,
+ "end": 6155094,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick,Mae",
+ "commentaire": "",
+ "ref_text": "17-1"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "discussion",
+ "id": "a64"
+ },
+ {
+ "begin": 6155094,
+ "end": 6417496,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick,Mae",
+ "commentaire": "",
+ "ref_text": "17-1"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "performance",
+ "id": "a65"
+ },
+ {
+ "begin": 6308448,
+ "end": 6457443,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "performance d'un(e) comédien(ne)",
+ "description": "Maggie propose à Brick de s'habiller donc tout naturellement elle lui amène ce qu'elle propose, économisant ainsi à Brick des déplacements",
+ "titre": "17-9"
+ }
+ },
+ "type": "interpretation",
+ "id": "a66"
+ },
+ {
+ "begin": 6417496,
+ "end": 6720673,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick,Mae",
+ "commentaire": "",
+ "ref_text": "17-9"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "performance",
+ "id": "a67"
+ },
+ {
+ "begin": 6457443,
+ "end": 6768871,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "scène reprise",
+ "description": "\"prends un amant\" est une réponse directe à \"je suis dévorée de désir\". Maggie s'adresse à son mari pour lui clouer le bec",
+ "titre": "référence texte:17-9"
+ }
+ },
+ "type": "interpretation",
+ "id": "a68"
+ },
+ {
+ "begin": 6720673,
+ "end": 7142804,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick,Mae",
+ "commentaire": "",
+ "ref_text": "18-9"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "discussion",
+ "id": "a69"
+ },
+ {
+ "begin": 6768871,
+ "end": 7918719,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "intervention MES,performance d'un(e) comédien(ne)",
+ "description": "très belle tension",
+ "titre": "référence texte:18-9"
+ }
+ },
+ "type": "interpretation",
+ "id": "a70"
+ },
+ {
+ "begin": 7142804,
+ "end": 7246629,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick,Grand Maman Pollitt",
+ "commentaire": "",
+ "ref_text": "19-9"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "performance",
+ "id": "a71"
+ },
+ {
+ "begin": 7246629,
+ "end": 7669389,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick,Grand Maman Pollitt",
+ "commentaire": "italienne entre les acteurs depuis l'entrée de grand maman dans la pièce",
+ "ref_text": "19-4"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "discussion",
+ "id": "a72"
+ },
+ {
+ "begin": 7669389,
+ "end": 7983897,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick,Grand Maman Pollitt",
+ "commentaire": "",
+ "ref_text": "19-4"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "performance",
+ "id": "a73"
+ },
+ {
+ "begin": 7918719,
+ "end": 8400431,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "scène reprise",
+ "description": "A la demande de Christianne la scène est reprise, s'étant perdue dans les texte, il lui faut reprendre pour plus de fluidité",
+ "titre": "référence texte:19-11"
+ }
+ },
+ "type": "interpretation",
+ "id": "a74"
+ },
+ {
+ "begin": 7983897,
+ "end": 8144532,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick,Grand Maman Pollitt",
+ "commentaire": "",
+ "ref_text": "19-11"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "performance",
+ "id": "a75"
+ },
+ {
+ "begin": 8144532,
+ "end": 8349675,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick,Grand Maman Pollitt",
+ "commentaire": "Grand mama est persuadé que Maggie ne veut pas d'enfants",
+ "ref_text": "20-4"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "discussion",
+ "id": "a76"
+ },
+ {
+ "begin": 8349675,
+ "end": 8736189,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick,Grand Maman Pollitt",
+ "commentaire": "Grand mama est persuadé que Maggie ne veut pas d'enfants",
+ "ref_text": "19-11"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "performance",
+ "id": "a77"
+ },
+ {
+ "begin": 8400431,
+ "end": 8754487,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "performance d'un(e) comédien(ne),scène reprise",
+ "description": "Le texte doit se chevaucher, et les acteurs ne doivent jamais cesser de parler, parler, parler",
+ "titre": "référence texte:20-02"
+ }
+ },
+ "type": "interpretation",
+ "id": "a78"
+ },
+ {
+ "begin": 8736189,
+ "end": 8821628,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick,Grand Maman Pollitt",
+ "commentaire": "",
+ "ref_text": "20-7"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "discussion",
+ "id": "a79"
+ },
+ {
+ "begin": 8754487,
+ "end": 9639277,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "intervention MES",
+ "description": "grand maman veut du bien à Maggie. Il faut que Maggie soit touchée par elle",
+ "titre": "référence texte:20-07"
+ }
+ },
+ "type": "interpretation",
+ "id": "a80"
+ },
+ {
+ "begin": 8821628,
+ "end": 9373952,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick,Grand Maman Pollitt",
+ "commentaire": "",
+ "ref_text": "20-4"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "performance",
+ "id": "a81"
+ },
+ {
+ "begin": 9152921,
+ "end": 9152921,
+ "media": "primary",
+ "content": {
+ "mimetype": "text/plain",
+ "data": "Si toute la famille monte dans la chambre, c'est un problème que Maggie va devoir résoudre"
+ },
+ "type": "textnote",
+ "id": "a82"
+ },
+ {
+ "begin": 9373952,
+ "end": 9515184,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick,Grand Maman Pollitt",
+ "commentaire": "",
+ "ref_text": "21-6"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "discussion",
+ "id": "a83"
+ },
+ {
+ "begin": 9515184,
+ "end": 9711516,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick,Grand Maman Pollitt",
+ "commentaire": "",
+ "ref_text": "20-9"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "performance",
+ "id": "a84"
+ },
+ {
+ "begin": 9594567,
+ "end": 9594567,
+ "media": "primary",
+ "content": {
+ "mimetype": "text/plain",
+ "data": "à la recherche du geste juste pour faire comprendre à Maggie que grand maman mime un homme qui boit"
+ },
+ "type": "textnote",
+ "id": "a85"
+ },
+ {
+ "begin": 9639277,
+ "end": 10671837,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "scène reprise",
+ "description": "",
+ "titre": "21-8"
+ }
+ },
+ "type": "interpretation",
+ "id": "a86"
+ },
+ {
+ "begin": 9711516,
+ "end": 10234001,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick,Grand Maman Pollitt",
+ "commentaire": "belle traversée de la scène",
+ "ref_text": "20-9"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "discussion",
+ "id": "a87"
+ },
+ {
+ "begin": 10234001,
+ "end": 10625047,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick,Grand Maman Pollitt",
+ "commentaire": "",
+ "ref_text": "19-4"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "performance",
+ "id": "a88"
+ },
+ {
+ "begin": 10273674,
+ "end": 10273674,
+ "media": "primary",
+ "content": {
+ "mimetype": "text/plain",
+ "data": "filage de la scène travaillée jusque là"
+ },
+ "type": "textnote",
+ "id": "a89"
+ },
+ {
+ "begin": 10625047,
+ "end": 10833134,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick,Grand Maman Pollitt",
+ "commentaire": "le dessein de la scène est à peu près juste.",
+ "ref_text": "22-1"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "discussion",
+ "id": "a90"
+ },
+ {
+ "begin": 10671837,
+ "end": 10966743,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "intervention MES",
+ "description": "20-9",
+ "titre": "il n'y a aucune raison urgente pour que Maggie commence à ranger dans sa chambre"
+ }
+ },
+ "type": "interpretation",
+ "id": "a91"
+ },
+ {
+ "begin": 10833134,
+ "end": 11186902,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,son,décors",
+ "personnages": "Margaret,Brick,Grand Maman Pollitt",
+ "commentaire": "ce n'est pas une scène d'enguelade, il y a de la joie",
+ "ref_text": "22-1"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "discussion",
+ "id": "a92"
+ },
+ {
+ "begin": 10966743,
+ "end": 11381600,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "Allemande de la scène",
+ "description": "allemande de toutr le passage ou grand maman se trouve dans la chambre",
+ "titre": ""
+ }
+ },
+ "type": "interpretation",
+ "id": "a93"
+ },
+ {
+ "begin": 11186902,
+ "end": 11381600,
+ "media": "primary",
+ "content": {
+ "mimetype": "text/plain",
+ "data": "pause cigarette"
+ },
+ "meta": {
+ "trim": "drop",
+ "track": "primary"
+ },
+ "type": "a_supprimer",
+ "id": "a94"
+ }
+ ]
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test/json/spel.json Tue Oct 01 15:41:46 2013 +0200
@@ -0,0 +1,487 @@
+{
+ "format": "http://advene.org/ns/cinelab/",
+ "url": "2013-05-06_14-53-10",
+ "annotation_types": [
+ {
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "id": "performance"
+ },
+ {
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "id": "discussion"
+ },
+ {
+ "id": "interpretation"
+ },
+ {
+ "id": "textnote"
+ },
+ {
+ "meta": {
+ "trim": "drop",
+ "track": "primary"
+ },
+ "id": "a_supprimer"
+ }
+ ],
+ "medias": [
+ {
+ "url": "original.mkv",
+ "origin": 0,
+ "meta": {
+ "profile": "Video Camera",
+ "audio_channels": 2,
+ "ratio": "16_9",
+ "audio_samplerate": 44100,
+ "width": 1920,
+ "is_original": true,
+ "height": 1080,
+ "video_height": 1080,
+ "duration": 9410630,
+ "video_codec": "h264",
+ "video_width": 1920,
+ "video_framerate": 30,
+ "is_main": true
+ },
+ "id": "primary",
+ "unit": "ms"
+ }
+ ],
+ "meta": {
+ "dc:contributor": "Pierre Gandar",
+ "oeuvre": "Chatte sur un toit brûlant",
+ "dc:language": "fr",
+ "dc:creator": "Pierre Gandar",
+ "dc:title": "Travail sur l'acte 3",
+ "director": "Claudia STAVISKY",
+ "dc:created": "2013-05-06T14:53:12.605396",
+ "media_type": "video",
+ "recorder": "easycast-c4",
+ "dc:modified": "2013-05-06T14:53:12.605396"
+ },
+ "annotations": [
+ {
+ "begin": 8123,
+ "end": 2231933,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,décors",
+ "personnages": "Margaret,Brick,Grand Maman Pollitt,Grand Papa Pollitt,Mae,Gooper,Le Révérend Tooker,Le Docteur Baugh",
+ "commentaire": "",
+ "ref_text": "Italienne de l'acte 3"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "discussion",
+ "id": "a1"
+ },
+ {
+ "begin": 2231933,
+ "end": 6557598,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,décors",
+ "personnages": "Margaret,Brick,Grand Maman Pollitt,Grand Papa Pollitt,Mae,Gooper,Le Révérend Tooker,Le Docteur Baugh",
+ "commentaire": "",
+ "ref_text": "Travail sur l'acte 3 référence texte: 58-1"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "performance",
+ "id": "a2"
+ },
+ {
+ "begin": 2360792,
+ "end": 2360792,
+ "media": "primary",
+ "content": {
+ "mimetype": "text/plain",
+ "data": "l'énérvement de la nature accompagne l'énervement des personnages. Personne n'est dans son état normal"
+ },
+ "type": "textnote",
+ "id": "a3"
+ },
+ {
+ "begin": 2560319,
+ "end": 2893505,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "intervention MES,scène reprise",
+ "description": "les enfants courent partout. Tout le monde doit entrer dans la pièce avec l'envie d'en finir.",
+ "titre": "référence texte: 58-1"
+ }
+ },
+ "type": "interpretation",
+ "id": "a4"
+ },
+ {
+ "begin": 2893505,
+ "end": 3420865,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "intervention MES",
+ "description": "Maggie doit rester dans la chambre. La fuite de Brick et l'agitement qui règne dans la pièce font naître des suspicions chez Mae quand à ce que Brick aie lâché l'information sur les résultats médicaux à grand papa.",
+ "titre": "référence texte: 58-10"
+ }
+ },
+ "type": "interpretation",
+ "id": "a5"
+ },
+ {
+ "begin": 3420865,
+ "end": 3714145,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "intervention MES",
+ "description": "tout le monde s'installe autour de grand maman",
+ "titre": "référence texte: 59-14"
+ }
+ },
+ "type": "interpretation",
+ "id": "a6"
+ },
+ {
+ "begin": 3714145,
+ "end": 4052267,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "scène reprise",
+ "description": "reprise au début de l'acte pour trouver la dynamique de l'entrée",
+ "titre": "référence texte: 58-1"
+ }
+ },
+ "type": "interpretation",
+ "id": "a7"
+ },
+ {
+ "begin": 4052267,
+ "end": 4159542,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "intervention MES",
+ "description": "",
+ "titre": "réglage de la dynamique de la scène"
+ }
+ },
+ "type": "interpretation",
+ "id": "a8"
+ },
+ {
+ "begin": 4159542,
+ "end": 4537415,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "intervention MES",
+ "description": "\"elle évite cette discussion\". Grand maman évite toutes les discussions ou elle évite celle qu'on lui a dit qu'on aillait avoir?",
+ "titre": "référence texte: 58-20"
+ }
+ },
+ "type": "interpretation",
+ "id": "a9"
+ },
+ {
+ "begin": 4537415,
+ "end": 4812000,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "scène reprise",
+ "description": "",
+ "titre": "référence texte: 58-1"
+ }
+ },
+ "type": "interpretation",
+ "id": "a10"
+ },
+ {
+ "begin": 4812000,
+ "end": 5293147,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "intervention MES,scène reprise",
+ "description": "",
+ "titre": "59-17"
+ }
+ },
+ "type": "interpretation",
+ "id": "a11"
+ },
+ {
+ "begin": 5293147,
+ "end": 5874258,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "intervention MES",
+ "description": "Tout le monde attend que Brick revienne avant de s'engouffrer dans la lourde discussion de l'héritage",
+ "titre": "référence texte: révérend Tooker=\"cette maison doit être la plus fraîche de tout le delta\""
+ }
+ },
+ "type": "interpretation",
+ "id": "a12"
+ },
+ {
+ "begin": 5874258,
+ "end": 6047316,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "scène reprise",
+ "description": "",
+ "titre": "référence texte: 60-2"
+ }
+ },
+ "type": "interpretation",
+ "id": "a13"
+ },
+ {
+ "begin": 6047316,
+ "end": 7063480,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "scène reprise",
+ "description": "",
+ "titre": "référence texte: 60-1"
+ }
+ },
+ "type": "interpretation",
+ "id": "a14"
+ },
+ {
+ "begin": 6557598,
+ "end": 6986803,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,décors",
+ "personnages": "Margaret,Brick,Grand Maman Pollitt,Grand Papa Pollitt,Mae,Gooper,Le Révérend Tooker,Le Docteur Baugh",
+ "commentaire": "parcours de Maggie dans l'espace",
+ "ref_text": "62-4"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "discussion",
+ "id": "a15"
+ },
+ {
+ "begin": 6786135,
+ "end": 6786135,
+ "media": "primary",
+ "content": {
+ "mimetype": "text/plain",
+ "data": "Magie insiste pour que Brick reveiien dans la chambre pour ne pas que l'heritage leur échappe"
+ },
+ "type": "textnote",
+ "id": "a16"
+ },
+ {
+ "begin": 6986803,
+ "end": 9326538,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "modalites_sceniques": "costumes,décors",
+ "personnages": "Margaret,Brick,Grand Maman Pollitt,Grand Papa Pollitt,Mae,Gooper,Le Révérend Tooker,Le Docteur Baugh",
+ "commentaire": "",
+ "ref_text": "60-1"
+ }
+ },
+ "meta": {
+ "trim": "keep",
+ "track": "primary"
+ },
+ "type": "performance",
+ "id": "a17"
+ },
+ {
+ "begin": 7063480,
+ "end": 7544144,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "intervention MES",
+ "description": "Grand maman devrait se lever lorsqu'elle voit son fils arriver.",
+ "titre": "référence texte: 61-1"
+ }
+ },
+ "type": "interpretation",
+ "id": "a18"
+ },
+ {
+ "begin": 7544144,
+ "end": 7699159,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "scène reprise",
+ "description": "",
+ "titre": "référence texte: 62-2"
+ }
+ },
+ "type": "interpretation",
+ "id": "a19"
+ },
+ {
+ "begin": 7699159,
+ "end": 7997895,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "intervention MES",
+ "description": "reprise du mouvement de grand maman vers Brick",
+ "titre": "référence texte: 61-1"
+ }
+ },
+ "type": "interpretation",
+ "id": "a20"
+ },
+ {
+ "begin": 7997895,
+ "end": 8251832,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "scène reprise",
+ "description": "",
+ "titre": "référence texte: 62-3"
+ }
+ },
+ "type": "interpretation",
+ "id": "a21"
+ },
+ {
+ "begin": 8251832,
+ "end": 8281499,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "intervention MES",
+ "description": "réglage de placements",
+ "titre": "référence texte: 62-3"
+ }
+ },
+ "type": "interpretation",
+ "id": "a22"
+ },
+ {
+ "begin": 8281499,
+ "end": 8703149,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "scène reprise",
+ "description": "",
+ "titre": "référence texte: 62-1"
+ }
+ },
+ "type": "interpretation",
+ "id": "a23"
+ },
+ {
+ "begin": 8703149,
+ "end": 8936661,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "scène reprise",
+ "description": "",
+ "titre": "référence texte: 64-9"
+ }
+ },
+ "type": "interpretation",
+ "id": "a24"
+ },
+ {
+ "begin": 8936661,
+ "end": 9274706,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "scène reprise",
+ "description": "",
+ "titre": "référence texte: 64-2"
+ }
+ },
+ "type": "interpretation",
+ "id": "a25"
+ },
+ {
+ "begin": 9274706,
+ "end": 9410630,
+ "media": "primary",
+ "content": {
+ "mimetype": "application/x-easycast-structured+json",
+ "data": {
+ "type_inter": "scène reprise",
+ "description": "",
+ "titre": "référence texte: 65-2"
+ }
+ },
+ "type": "interpretation",
+ "id": "a26"
+ },
+ {
+ "begin": 9326538,
+ "end": 9410630,
+ "media": "primary",
+ "content": {
+ "mimetype": "text/plain",
+ "data": "pause cigarette"
+ },
+ "meta": {
+ "trim": "drop",
+ "track": "primary"
+ },
+ "type": "a_supprimer",
+ "id": "a27"
+ }
+ ]
+}
\ No newline at end of file
--- a/test/jwplayer.htm Mon Sep 30 14:39:34 2013 +0200
+++ b/test/jwplayer.htm Tue Oct 01 15:41:46 2013 +0200
@@ -44,7 +44,8 @@
{ type: "Controller" },
{
type: "Polemic",
- max_elements: 20
+ max_elements: 20,
+ annotation_type: false
},
{ type: "Sparkline" },
{ type: "MultiSegments" },
@@ -58,7 +59,9 @@
//show_creator_field: false,
show_slice: false
},
- { type: "Tweet" },
+ {
+ type: "Tweet"
+ },
{
type: "Tagcloud"
},
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test/spel-2.htm Tue Oct 01 15:41:46 2013 +0200
@@ -0,0 +1,91 @@
+<!doctype html>
+<html>
+
+ <head>
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
+ <title>Tests Spectacle en ligne(s)</title>
+ <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
+ <link href='test.css' rel='stylesheet' type='text/css'>
+ <script type="text/javascript" src="metadataplayer/LdtPlayer-core.js"></script>
+ <script type="text/javascript" src="spel-serializer.js"></script>
+ </head>
+
+ <body>
+ <section style="width: 1070px; margin: 0 auto">
+ <h1>Tests Spectacle en ligne(s)</h1>
+ <div id="LdtPlayer"></div>
+ <div id="AnnotationsListContainer"></div>
+ </section>
+ <script type="text/javascript">
+IriSP.libFiles.defaultDir = "libs/";
+IriSP.widgetsDir = "metadataplayer";
+var _metadata = {
+ url: "json/extrait-celestins-paris.json",
+ format: 'spel'
+};
+var _config = {
+ width : 550,
+ container : 'LdtPlayer',
+ default_options: {
+ metadata: _metadata
+ },
+ css : 'metadataplayer/LdtPlayer-core.css',
+ widgets: [
+ {
+ type: "Title"
+ },
+ {
+ type: "JwpPlayer",
+ video: "rtmpt://sln8pxlnphabw.cloudfront.net/cfx/st/mp4:2013-09-11_11-00-57_extrait-celesti_8878b1/original_web_low.mp4",
+ height: 320
+ },
+ { type: "Slider" },
+ { type: "Controller" },
+ {
+ type: "Segments",
+ annotation_type: ["performance","discussion"]
+ },
+ {
+ type: "Annotation",
+ show_social: false,
+ show_annotation_type: true,
+ annotation_type: ["performance","discussion"]
+ },
+ {
+ type: "Polemic",
+ annotation_type: "interpretation",
+ polemics: [
+ {
+ keywords: [ "performance d'un(e) comédien(ne)" ],
+ color: "#c00000"
+ },
+ {
+ keywords: [ "Interpétation alternative de mise en scène" ],
+ color: "#008000"
+ },
+ {
+ keywords: [ "Intervention de la technique" ],
+ color: "#0000f0"
+ },
+ ]
+ },
+ {
+ type: "Annotation",
+ annotation_type: "interpretation",
+ show_social: false,
+ arrow_position: 0
+ },
+ {
+ type: "SpelSyncHtml",
+ container: "AnnotationsListContainer",
+ height: 600,
+ width: 500,
+ src: "ctb.html"
+ }
+ ]
+};
+_myPlayer = new IriSP.Metadataplayer(_config);
+ </script>
+ </body>
+</html>