diff -r a8bed1c7df8e -r 3a32d2f57429 cms/app-client/app/components/transcript-annotation-component.js --- a/cms/app-client/app/components/transcript-annotation-component.js Fri Dec 02 03:30:51 2016 +0100 +++ b/cms/app-client/app/components/transcript-annotation-component.js Fri Dec 02 09:33:53 2016 +0100 @@ -2,9 +2,8 @@ export default Ember.Component.extend({ - // classNameBindings: ['isPlaying:active'], - hasPlayer: Ember.computed.bool('player'), + hideSpeaker: Ember.computed.not('annotation.showSpeaker'), begin: Ember.computed.readOnly('annotation.begin'), end: Ember.computed.readOnly('annotation.end'), @@ -15,11 +14,6 @@ literal: Ember.computed.readOnly('annotation.literal'), translation: Ember.computed.readOnly('annotation.translation'), - // isPlaying: Ember.computed("hasPlayer","player.progress", "begin", "end", function() { - // var progress = this.get('player.progress'); - // return this.get('hasPlayer') && progress && (progress >= this.get('begin')) && (progress < this.get('end')); - // }), - didInsertElement: function() { if(this.get('hasPlayer') && this.get('intervals')) { this.get('intervals').add(this.get('begin'), this.get('end'), this.get('elementId'), this.$());