diff -r b9cf9835b5b9 -r 4928ecd06b44 crea/integration/metadataplayer/MusitagAnnotations.js
--- a/crea/integration/metadataplayer/MusitagAnnotations.js Thu May 31 18:10:27 2012 +0200
+++ b/crea/integration/metadataplayer/MusitagAnnotations.js Fri Jun 01 11:34:56 2012 +0200
@@ -47,17 +47,23 @@
}
_html += '
';
_html += _column.map(function(_annotation) {
- return '
'
- + '
'
- + '
'
- + '
'
- + '
';
+ return '
'
+ + '
'
+ + '
'
+ + '
'
+ + '
'
+ + '
';
}).join('');
_html += '
';
}
this.$.html(_html);
- this.$.find('.Musitag-Annotations-tag').click(function() {
- var _el = IriSP.jQuery(this);
+ this.$.find('.Musitag-Annotations-tag .Musitag-container-50').click(function() {
+ var _el = IriSP.jQuery(this).parent();
_this.player.popcorn.currentTime(_el.attr("begin-time") / 1000);
});
+ this.$.find('.Musitag-Annotations-tag').mouseover(function() {
+ var _el = IriSP.jQuery(this);
+ _this.$.find('.Musitag-Annotations-Balloon').hide();
+ _el.find('.Musitag-Annotations-Balloon').show();
+ });
}
\ No newline at end of file