diff --git a/README.md b/README.md index 37a7bd131..b2a01e004 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,7 @@ var art = new Artplayer({ | [artplayer-plugin-danmu](https://github.com/zhw2590582/ArtPlayer/tree/master/packages/artplayer-plugin-danmu) | Danmu plugin for ArtPlayer | ## Configuration + @@ -646,6 +647,7 @@ var art = new Artplayer({ ``` #### Instance properties and methods +
parameter
@@ -671,9 +673,322 @@ var art = new Artplayer({ Demo + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
property / method
art.player.mountUrl() + Demo +
art.player.play() + Demo +
art.player.pause() + Demo +
art.player.toggle() + Demo +
art.player.seek() + Demo +
art.player.volume() + Demo +
art.player.currentTime() + Demo +
art.player.duration() + Demo +
art.player.switch() + Demo +
art.player.playbackRateState() + Demo +
art.player.playbackRate() + Demo +
art.player.playbackRateRemove() + Demo +
art.player.playbackRateReset() + Demo +
art.player.aspectRatioState() + Demo +
art.player.aspectRatio() + Demo +
art.player.aspectRatioRemove() + Demo +
art.player.aspectRatioReset() + Demo +
art.player.screenshot() + Demo +
art.player.fullscreenState() + Demo +
art.player.fullscreenEnabled() + Demo +
art.player.fullscreenExit() + Demo +
art.player.fullscreenToggle() + Demo +
art.player.fullscreenWebState() + Demo +
art.player.fullscreenWebEnabled() + Demo +
art.player.fullscreenWebExit() + Demo +
art.player.fullscreenWebToggle() + Demo +
art.player.pipState() + Demo +
art.player.pipDraggie() + Demo +
art.player.pipEnabled() + Demo +
art.player.pipExit() + Demo +
art.player.pipToggle() + Demo +
art.player.loaded() + Demo +
art.player.played() + Demo +
art.player.autoSizeState() + Demo +
art.player.autoSize() + Demo +
art.player.autoSizeRemove() + Demo +
art.player.flipState() + Demo +
art.player.flip() + Demo +
art.player.flipRemove() + Demo +
#### Class static properties and methods +
property / method