Changeset 147

Show
Ignore:
Timestamp:
02/12/08 06:47:05 (1 year ago)
Author:
Stuart Thiel
Message:

-Fixed #127 and #129
--If it's not a media annotation, we use the simple load movie, otherwise we pass the note so that extra info can be parsed out for setting the ins and outs.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • MediAnnotateXPI/trunk/srcExtension/chrome/MediAnnotate/content/overlay.js

    r140 r147  
    189189   
    190190  workItOut: function(event) { 
    191         ZoteroPane.loadURI(getFileFromChrome("chrome://mediannotate/content/mediannotate.html"), event); 
     191        if(!content.document || !content.document.getElementById('MA-applet')) ZoteroPane.loadURI(getFileFromChrome("chrome://mediannotate/content/mediannotate.html"), event); 
     192        else this.myListener(); 
    192193  }, 
    193194   
     
    195196    if(!this.current_url) return; 
    196197        var myApplet = content.document.getElementById('MA-applet'); 
    197         myApplet.wrappedJSObject.loadMovie(this.current_url); 
    198         if(this.isMediaAnnotation) myApplet.wrappedJSObject.setTime(this.item.getNote()); 
     198        if(this.isMediaAnnotation) myApplet.wrappedJSObject.loadMovie(this.current_url, this.item.getNote()); 
     199        else myApplet.wrappedJSObject.loadMovie(this.current_url); 
    199200  },   
    200201   
  • MediAnnotateXPI/trunk/srcExtension/install.rdf

    r143 r147  
    55    <em:id>videannotate@htmlweb.com</em:id> 
    66    <em:name>MediAnnotate</em:name> 
    7     <em:version>0.6.7.7.1</em:version> 
     7    <em:version>0.6.7.7.2</em:version> 
    88    <em:creator>Stuart Thiel Concordia University University</em:creator> 
    99    <em:developer>Stuart Thiel</em:developer> 
  • MediAnnotateXPI/trunk/update_mediannotate.rdf

    r143 r147  
    88      <RDF:li> 
    99        <RDF:Description> 
    10           <version>0.6.7.7.1</version> 
     10          <version>0.6.7.7.2</version> 
    1111          <targetApplication> 
    1212            <RDF:Description>