equal
deleted
inserted
replaced
4 |
4 |
5 items: [], |
5 items: [], |
6 item: null, |
6 item: null, |
7 model: null, |
7 model: null, |
8 transcript: null, |
8 transcript: null, |
|
9 transcriptIframe: false, |
9 transcriptLoading: false, |
10 transcriptLoading: false, |
10 |
11 |
11 window: false, |
12 window: false, |
12 playing: false, |
13 playing: false, |
13 progress: 0, // In Milliseconds |
14 progress: 0, // In Milliseconds |
31 |
32 |
32 displayMetadata: function(el) { |
33 displayMetadata: function(el) { |
33 if(typeof el !== 'undefined') { |
34 if(typeof el !== 'undefined') { |
34 this.set('window', el); |
35 this.set('window', el); |
35 if(el==='transcript') { |
36 if(el==='transcript') { |
36 this.set('transcriptLoading', true); |
37 this.set('transcriptLoading', !this.get('transcriptIframe')); |
37 } |
38 } |
38 } else { |
39 } else { |
39 this.set('window', false); |
40 this.set('window', false); |
40 this.set('transcriptLoading', false); |
41 this.set('transcriptLoading', false); |
41 } |
42 } |