add restart event

This commit is contained in:
Harvey committed 2021-12-24 11:36:50 +08:00
1 parent 50a3809a10
commit dceb8e731b
5 files changed
+21 -1

No files matched your search

+1
View File
@@ -36,6 +36,7 @@ export default class Artplayer extends Emitter {
const mergeOption = utils.mergeDeep(Artplayer.option, option);
this.option = validator(mergeOption, scheme);
this.isReady = false;
this.isFocus = false;
this.isDestroy = false;