diff --git a/README.md b/README.md index 178e54b72..03a6227e2 100644 --- a/README.md +++ b/README.md @@ -671,8 +671,10 @@ var art = new Artplayer({ example - art.destroy() + destroy + Type: function
+ Parameter: true/false

Destroy instance, and whether to remove dom @@ -680,33 +682,58 @@ var art = new Artplayer({ - art.player.mountUrl() - A special writable method for modifying the play url before play + player - Demo - - - - art.player.play() - Trigger play - - - - art.player.pause() - Trigger pause - - - - art.player.toggle() - Trigger play or pause - - - - art.player.seek() - Custom play time in seconds - - Demo + Type: object
+ Destroy instance, and whether to remove dom

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
mountUrl + Type: function
+ A special writable method for modifying the play url before play

+
+ Demo +
play + Type: function
+ Trigger play +
null
pause + Type: function
+ Trigger pause +
null
toggle + Type: function
+ Trigger play or pause +
null
seek + Type: function
+ Custom play time in seconds +
+ Demo +
+ null art.player.volume