Skip to content

Commit 62801c9

Browse files
authored
Merge pull request surmon-china#93 from maxpaj/patch-1
Add error event to event emitters
2 parents ef5b817 + 3e0a7db commit 62801c9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/player.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@
123123
'pause',
124124
'waiting',
125125
'playing',
126-
'ended']
126+
'ended',
127+
'error']
127128
for (var i = 0; i < events.length; i++) {
128129
(function(event) {
129130
_this.on(event, function() {

0 commit comments

Comments
 (0)