cms/app-client/app/components/transcript-component.js
changeset 459 6a296e92887f
parent 457 a7a333c0b1eb
child 460 686926d132ff
equal deleted inserted replaced
458:c3a5f4de29b0 459:6a296e92887f
    43             let sentenceId = `#sentence-${index}`;
    43             let sentenceId = `#sentence-${index}`;
    44             intervals.add(annotation.begin ,annotation.end , sentenceId/*, this.$(sentenceId)*/);
    44             intervals.add(annotation.begin ,annotation.end , sentenceId/*, this.$(sentenceId)*/);
    45           });
    45           });
    46         }
    46         }
    47         this.set('intervals', intervals);
    47         this.set('intervals', intervals);
       
    48         this.get('player').set('transcriptLoading', false);
    48     },
    49     },
    49 
    50 
    50     onScroll() {
    51     onScroll() {
    51         if ( !(this.get('isDestroyed') || this.get('isDestroying')) ) {
    52         if ( !(this.get('isDestroyed') || this.get('isDestroying')) ) {
    52           this.set('autoscroll', false);
    53           this.set('autoscroll', false);