File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 222
222
})
223
223
224
224
this .on (' waiting' , function () {
225
- _this .$emit && _this .$emit (' playerStateChanged ' , { waiting: true })
226
- _this .$dispatch && _this .$dispatch (' playerStateChanged ' , { waiting: true })
225
+ _this .$emit && _this .$emit (customEventName , { waiting: true })
226
+ _this .$dispatch && _this .$dispatch (customEventName , { waiting: true })
227
227
})
228
228
229
229
this .on (' playing' , function () {
230
- _this .$emit && _this .$emit (' playerStateChanged ' , { playing: true })
231
- _this .$dispatch && _this .$dispatch (' playerStateChanged ' , { playing: true })
230
+ _this .$emit && _this .$emit (customEventName , { playing: true })
231
+ _this .$dispatch && _this .$dispatch (customEventName , { playing: true })
232
232
})
233
233
234
234
// 监听时间
You can’t perform that action at this time.
0 commit comments