send a signal when loading an annotation from hashtag. popcorn-port
authorhamidouk
Tue, 17 Jan 2012 14:48:37 +0100
branchpopcorn-port
changeset 647 2984fbbcbe35
parent 646 2b8b2a94ee92
child 648 431b3495f958
send a signal when loading an annotation from hashtag.
src/js/modules/mediafragment.js
--- a/src/js/modules/mediafragment.js	Tue Jan 17 14:48:10 2012 +0100
+++ b/src/js/modules/mediafragment.js	Tue Jan 17 14:48:37 2012 +0100
@@ -89,6 +89,7 @@
 
   if (typeof(annotation) !== "undefined") {
     this._Popcorn.currentTime(annotation.begin / 1000);
+    this._Popcorn.trigger("IriSP.Mediafragment.showAnnotation", annotationId);
   }
   
   window.setTimeout(function() { _this.mutex = false }, 50);