diff -r 68c7526a9940 -r 5171f8825985 web/res/metadataplayer/Renkan.js --- a/web/res/metadataplayer/Renkan.js Thu Sep 26 14:46:53 2013 +0200 +++ b/web/res/metadataplayer/Renkan.js Tue Oct 01 16:33:47 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 = '
'; @@ -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 @@ } } }); -} +};