Skip to content

Commit ef5b817

Browse files
author
马赐崇
committed
merge
2 parents a9cb85c + 19534fe commit ef5b817

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/player.vue

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -116,21 +116,21 @@
116116
self.$emit('ready', self.player)
117117
118118
// events
119-
var events = ['loadeddata',
119+
var events = ['loadeddata',
120120
'canplay',
121121
'canplaythrough',
122122
'play',
123123
'pause',
124124
'waiting',
125125
'playing',
126126
'ended']
127-
for (var i = 0; i < events.length; i++) {
128-
(function(event) {
129-
_this.on(event, function() {
130-
emitPlayerState(event, true)
131-
})
132-
})(events[i])
133-
}
127+
for (var i = 0; i < events.length; i++) {
128+
(function(event) {
129+
_this.on(event, function() {
130+
emitPlayerState(event, true)
131+
})
132+
})(events[i])
133+
}
134134
135135
this.on('timeupdate', function() {
136136
emitPlayerState('timeupdate', this.currentTime())

0 commit comments

Comments
 (0)