cms/app-client/app/services/player.js
changeset 459 6a296e92887f
parent 414 5c6c526a7fc1
child 462 ebd8269781fa
--- a/cms/app-client/app/services/player.js	Fri Dec 02 13:27:02 2016 +0100
+++ b/cms/app-client/app/services/player.js	Fri Dec 02 15:30:16 2016 +0100
@@ -6,6 +6,7 @@
     item: null,
     model: null,
     transcript: null,
+    transcriptLoading: false,
 
     window: false,
     playing: false,
@@ -31,8 +32,12 @@
     displayMetadata: function(el) {
          if(typeof el !== 'undefined') {
             this.set('window', el);
+            if(el==='transcript') {
+              this.set('transcriptLoading', true);
+            }
         } else {
             this.set('window', false);
+            this.set('transcriptLoading', false);
         }
     },