equal
deleted
inserted
replaced
73 this.set('remaining', duration - progress); |
73 this.set('remaining', duration - progress); |
74 }, |
74 }, |
75 |
75 |
76 play: function() { |
76 play: function() { |
77 this.get('popcorn').play(); |
77 this.get('popcorn').play(); |
|
78 Ember.$(document).attr('title', this.get('player').get('model').get('title') + ' - ' + Ember.$(document).attr('title')); |
78 }, |
79 }, |
79 |
80 |
80 pause: function() { |
81 pause: function() { |
81 this.get('popcorn').pause(); |
82 this.get('popcorn').pause(); |
|
83 Ember.$(document).attr('title', Ember.$(document).attr('title').split(' - ').pop()); |
82 }, |
84 }, |
83 |
85 |
84 actions: { |
86 actions: { |
85 |
87 |
86 toggle: function() { |
88 toggle: function() { |