简化player接口

This commit is contained in:
Harvey Zack committed 2019-06-06 10:37:57 +08:00
1 parent 1b69b28ba1
commit 52b6693da2
41 files changed
+624 -690

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ export default class Artplayer {
/**
* Selector or a dom element (required)
*/
container: string | Element;
container: string;
/**
* Video url or a function that returns a promise value of url (required)