From 55ca351b60c4bba347173c6fd181b8735a3502f4 Mon Sep 17 00:00:00 2001
From: Harvey Zack
Date: Sun, 23 Apr 2023 15:11:08 +0800
Subject: [PATCH] update docs
---
docs/document/404.html | 4 +-
docs/document/advanced/built-in.html | 18 +-
docs/document/advanced/class.html | 12 +-
docs/document/advanced/event.html | 62 +-
docs/document/advanced/plugin.html | 6 +-
docs/document/advanced/property.html | 19 +-
...3e.js => advanced_built-in.md.59eb17d6.js} | 14 +-
... => advanced_built-in.md.59eb17d6.lean.js} | 2 +-
.../assets/advanced_class.md.0179e979.lean.js | 1 -
...9e979.js => advanced_class.md.8a7735cd.js} | 4 +-
.../assets/advanced_class.md.8a7735cd.lean.js | 1 +
...f2290.js => advanced_event.md.5f088140.js} | 106 +-
....js => advanced_event.md.5f088140.lean.js} | 2 +-
...a4.js => advanced_property.md.dd7eaab4.js} | 17 +-
... => advanced_property.md.dd7eaab4.lean.js} | 2 +-
.../{app.034281f2.js => app.a798b1de.js} | 2 +-
.../{theme.29dd1380.js => theme.345d1526.js} | 2 +-
.../chunks/virtual_search-data.db13757c.js | 1414 ----------------
.../chunks/virtual_search-data.f0053986.js | 1419 +++++++++++++++++
...s => component_contextmenu.md.0a546873.js} | 2 +-
...component_contextmenu.md.0a546873.lean.js} | 2 +-
...7.js => component_controls.md.543f9d41.js} | 6 +-
...=> component_controls.md.543f9d41.lean.js} | 2 +-
...343.js => component_layers.md.1cdf1395.js} | 2 +-
...s => component_layers.md.1cdf1395.lean.js} | 2 +-
...2e.js => component_setting.md.0b54a0cd.js} | 2 +-
... => component_setting.md.0b54a0cd.lean.js} | 2 +-
...js => en_advanced_built-in.md.c48d40be.js} | 2 +-
... en_advanced_built-in.md.c48d40be.lean.js} | 2 +-
...> en_component_contextmenu.md.7eba85f1.js} | 2 +-
..._component_contextmenu.md.7eba85f1.lean.js | 1 +
..._component_contextmenu.md.81d8a231.lean.js | 1 -
.../en_component_controls.md.b71709d0.lean.js | 1 -
...s => en_component_controls.md.ec637dbe.js} | 2 +-
.../en_component_controls.md.ec637dbe.lean.js | 1 +
....js => en_component_layers.md.13760839.js} | 2 +-
.../en_component_layers.md.13760839.lean.js | 1 +
.../en_component_layers.md.5214ae90.lean.js | 1 -
...js => en_component_setting.md.82221c0c.js} | 2 +-
.../en_component_setting.md.82221c0c.lean.js | 1 +
.../en_component_setting.md.9cd8bba3.lean.js | 1 -
...md.912b6c47.js => en_index.md.1e99ea2f.js} | 6 +-
...7.lean.js => en_index.md.1e99ea2f.lean.js} | 2 +-
...2440cc.js => en_plugin_ads.md.b411f9c4.js} | 4 +-
...n.js => en_plugin_ads.md.b411f9c4.lean.js} | 2 +-
...js => en_plugin_control-ui.md.afba4fa6.js} | 2 +-
... en_plugin_control-ui.md.afba4fa6.lean.js} | 0
... => en_plugin_dash-quality.md.e5c4bb58.js} | 2 +-
...n_plugin_dash-quality.md.e5c4bb58.lean.js} | 2 +-
...s => en_plugin_hls-quality.md.86db5c3b.js} | 2 +-
...en_plugin_hls-quality.md.86db5c3b.lean.js} | 2 +-
...1bb.js => en_plugin_iframe.md.87854d41.js} | 4 +-
...s => en_plugin_iframe.md.87854d41.lean.js} | 0
...492e.js => en_start_option.md.b6b4350b.js} | 2 +-
...js => en_start_option.md.b6b4350b.lean.js} | 2 +-
...ex.md.92d2a836.js => index.md.2a51b5f2.js} | 8 +-
...a836.lean.js => index.md.2a51b5f2.lean.js} | 2 +-
....47987cb5.js => plugin_ads.md.951c7293.js} | 2 +-
...lean.js => plugin_ads.md.951c7293.lean.js} | 0
...15.js => plugin_control-ui.md.4b862a57.js} | 4 +-
... => plugin_control-ui.md.4b862a57.lean.js} | 2 +-
...7145d.js => plugin_danmuku.md.6993ef29.js} | 8 +-
....js => plugin_danmuku.md.6993ef29.lean.js} | 2 +-
....js => plugin_dash-quality.md.c5e19e79.js} | 2 +-
...> plugin_dash-quality.md.c5e19e79.lean.js} | 2 +-
.../plugin_hls-quality.md.20e2774e.lean.js | 1 -
...e.js => plugin_hls-quality.md.278bdfc0.js} | 2 +-
.../plugin_hls-quality.md.278bdfc0.lean.js | 1 +
...c2ebd5.js => plugin_iframe.md.bd9dfbfa.js} | 4 +-
...n.js => plugin_iframe.md.bd9dfbfa.lean.js} | 0
...93020db.js => start_option.md.55bf85c9.js} | 2 +-
...an.js => start_option.md.55bf85c9.lean.js} | 2 +-
docs/document/component/contextmenu.html | 10 +-
docs/document/component/controls.html | 14 +-
docs/document/component/layers.html | 10 +-
docs/document/component/setting.html | 10 +-
docs/document/en/advanced/built-in.html | 10 +-
docs/document/en/advanced/class.html | 6 +-
docs/document/en/advanced/event.html | 6 +-
docs/document/en/advanced/plugin.html | 6 +-
docs/document/en/advanced/property.html | 6 +-
docs/document/en/component/contextmenu.html | 10 +-
docs/document/en/component/controls.html | 10 +-
docs/document/en/component/layers.html | 10 +-
docs/document/en/component/setting.html | 10 +-
docs/document/en/index.html | 16 +-
docs/document/en/library/dash.html | 6 +-
docs/document/en/library/flv.html | 6 +-
docs/document/en/library/hls.html | 6 +-
docs/document/en/plugin/ads.html | 10 +-
docs/document/en/plugin/control-ui.html | 10 +-
docs/document/en/plugin/dash-quality.html | 10 +-
docs/document/en/plugin/hls-quality.html | 10 +-
docs/document/en/plugin/iframe.html | 12 +-
docs/document/en/start/option.html | 10 +-
docs/document/hashmap.json | 2 +-
docs/document/index.html | 14 +-
docs/document/library/dash.html | 6 +-
docs/document/library/flv.html | 6 +-
docs/document/library/hls.html | 6 +-
docs/document/plugin/ads.html | 10 +-
docs/document/plugin/control-ui.html | 10 +-
docs/document/plugin/danmuku.html | 10 +-
docs/document/plugin/dash-quality.html | 10 +-
docs/document/plugin/hls-quality.html | 10 +-
docs/document/plugin/iframe.html | 12 +-
docs/document/start/option.html | 10 +-
.../package.json | 2 +-
.../artplayer-plugin-hls-quality/package.json | 2 +-
.../docs/advanced/built-in.md | 17 +-
.../docs/advanced/class.md | 80 +-
.../docs/advanced/event.md | 80 +-
.../docs/advanced/property.md | 21 +
.../docs/component/controls.md | 4 +-
packages/artplayer-vitepress/package.json | 2 +-
packages/artplayer/src/style/bottom.less | 6 +-
packages/artplayer/types/events.d.ts | 2 +-
packages/artplayer/types/option.d.ts | 2 +-
packages/artplayer/types/player.d.ts | 3 +
119 files changed, 1882 insertions(+), 1882 deletions(-)
rename docs/document/assets/{advanced_built-in.md.3965493e.js => advanced_built-in.md.59eb17d6.js} (95%)
rename docs/document/assets/{advanced_built-in.md.3965493e.lean.js => advanced_built-in.md.59eb17d6.lean.js} (83%)
delete mode 100644 docs/document/assets/advanced_class.md.0179e979.lean.js
rename docs/document/assets/{advanced_class.md.0179e979.js => advanced_class.md.8a7735cd.js} (52%)
create mode 100644 docs/document/assets/advanced_class.md.8a7735cd.lean.js
rename docs/document/assets/{advanced_event.md.7faf2290.js => advanced_event.md.5f088140.js} (91%)
rename docs/document/assets/{advanced_event.md.7faf2290.lean.js => advanced_event.md.5f088140.lean.js} (83%)
rename docs/document/assets/{advanced_property.md.9e1218a4.js => advanced_property.md.dd7eaab4.js} (96%)
rename docs/document/assets/{advanced_property.md.9e1218a4.lean.js => advanced_property.md.dd7eaab4.lean.js} (84%)
rename docs/document/assets/{app.034281f2.js => app.a798b1de.js} (95%)
rename docs/document/assets/chunks/{theme.29dd1380.js => theme.345d1526.js} (99%)
delete mode 100644 docs/document/assets/chunks/virtual_search-data.db13757c.js
create mode 100644 docs/document/assets/chunks/virtual_search-data.f0053986.js
rename docs/document/assets/{component_contextmenu.md.59792b84.js => component_contextmenu.md.0a546873.js} (99%)
rename docs/document/assets/{component_contextmenu.md.59792b84.lean.js => component_contextmenu.md.0a546873.lean.js} (90%)
rename docs/document/assets/{component_controls.md.7cf7e297.js => component_controls.md.543f9d41.js} (88%)
rename docs/document/assets/{component_controls.md.7cf7e297.lean.js => component_controls.md.543f9d41.lean.js} (90%)
rename docs/document/assets/{component_layers.md.8388a343.js => component_layers.md.1cdf1395.js} (99%)
rename docs/document/assets/{component_layers.md.8388a343.lean.js => component_layers.md.1cdf1395.lean.js} (90%)
rename docs/document/assets/{component_setting.md.149ac42e.js => component_setting.md.0b54a0cd.js} (99%)
rename docs/document/assets/{component_setting.md.149ac42e.lean.js => component_setting.md.0b54a0cd.lean.js} (93%)
rename docs/document/assets/{en_advanced_built-in.md.9cf203af.js => en_advanced_built-in.md.c48d40be.js} (99%)
rename docs/document/assets/{en_advanced_built-in.md.9cf203af.lean.js => en_advanced_built-in.md.c48d40be.lean.js} (95%)
rename docs/document/assets/{en_component_contextmenu.md.81d8a231.js => en_component_contextmenu.md.7eba85f1.js} (93%)
create mode 100644 docs/document/assets/en_component_contextmenu.md.7eba85f1.lean.js
delete mode 100644 docs/document/assets/en_component_contextmenu.md.81d8a231.lean.js
delete mode 100644 docs/document/assets/en_component_controls.md.b71709d0.lean.js
rename docs/document/assets/{en_component_controls.md.b71709d0.js => en_component_controls.md.ec637dbe.js} (94%)
create mode 100644 docs/document/assets/en_component_controls.md.ec637dbe.lean.js
rename docs/document/assets/{en_component_layers.md.5214ae90.js => en_component_layers.md.13760839.js} (94%)
create mode 100644 docs/document/assets/en_component_layers.md.13760839.lean.js
delete mode 100644 docs/document/assets/en_component_layers.md.5214ae90.lean.js
rename docs/document/assets/{en_component_setting.md.9cd8bba3.js => en_component_setting.md.82221c0c.js} (98%)
create mode 100644 docs/document/assets/en_component_setting.md.82221c0c.lean.js
delete mode 100644 docs/document/assets/en_component_setting.md.9cd8bba3.lean.js
rename docs/document/assets/{en_index.md.912b6c47.js => en_index.md.1e99ea2f.js} (97%)
rename docs/document/assets/{en_index.md.912b6c47.lean.js => en_index.md.1e99ea2f.lean.js} (82%)
rename docs/document/assets/{en_plugin_ads.md.e62440cc.js => en_plugin_ads.md.b411f9c4.js} (96%)
rename docs/document/assets/{en_plugin_ads.md.e62440cc.lean.js => en_plugin_ads.md.b411f9c4.lean.js} (87%)
rename docs/document/assets/{en_plugin_control-ui.md.3e743a6b.js => en_plugin_control-ui.md.afba4fa6.js} (95%)
rename docs/document/assets/{en_plugin_control-ui.md.3e743a6b.lean.js => en_plugin_control-ui.md.afba4fa6.lean.js} (100%)
rename docs/document/assets/{en_plugin_dash-quality.md.0383c370.js => en_plugin_dash-quality.md.e5c4bb58.js} (85%)
rename docs/document/assets/{en_plugin_dash-quality.md.0383c370.lean.js => en_plugin_dash-quality.md.e5c4bb58.lean.js} (68%)
rename docs/document/assets/{en_plugin_hls-quality.md.0c9fdf30.js => en_plugin_hls-quality.md.86db5c3b.js} (82%)
rename docs/document/assets/{en_plugin_hls-quality.md.0c9fdf30.lean.js => en_plugin_hls-quality.md.86db5c3b.lean.js} (68%)
rename docs/document/assets/{en_plugin_iframe.md.125c11bb.js => en_plugin_iframe.md.87854d41.js} (98%)
rename docs/document/assets/{en_plugin_iframe.md.125c11bb.lean.js => en_plugin_iframe.md.87854d41.lean.js} (100%)
rename docs/document/assets/{en_start_option.md.74e5492e.js => en_start_option.md.b6b4350b.js} (99%)
rename docs/document/assets/{en_start_option.md.74e5492e.lean.js => en_start_option.md.b6b4350b.lean.js} (98%)
rename docs/document/assets/{index.md.92d2a836.js => index.md.2a51b5f2.js} (97%)
rename docs/document/assets/{index.md.92d2a836.lean.js => index.md.2a51b5f2.lean.js} (82%)
rename docs/document/assets/{plugin_ads.md.47987cb5.js => plugin_ads.md.951c7293.js} (96%)
rename docs/document/assets/{plugin_ads.md.47987cb5.lean.js => plugin_ads.md.951c7293.lean.js} (100%)
rename docs/document/assets/{plugin_control-ui.md.3bdfe915.js => plugin_control-ui.md.4b862a57.js} (95%)
rename docs/document/assets/{plugin_control-ui.md.3bdfe915.lean.js => plugin_control-ui.md.4b862a57.lean.js} (90%)
rename docs/document/assets/{plugin_danmuku.md.8f07145d.js => plugin_danmuku.md.6993ef29.js} (99%)
rename docs/document/assets/{plugin_danmuku.md.8f07145d.lean.js => plugin_danmuku.md.6993ef29.lean.js} (83%)
rename docs/document/assets/{plugin_dash-quality.md.8d733387.js => plugin_dash-quality.md.c5e19e79.js} (82%)
rename docs/document/assets/{plugin_dash-quality.md.8d733387.lean.js => plugin_dash-quality.md.c5e19e79.lean.js} (68%)
delete mode 100644 docs/document/assets/plugin_hls-quality.md.20e2774e.lean.js
rename docs/document/assets/{plugin_hls-quality.md.20e2774e.js => plugin_hls-quality.md.278bdfc0.js} (80%)
create mode 100644 docs/document/assets/plugin_hls-quality.md.278bdfc0.lean.js
rename docs/document/assets/{plugin_iframe.md.05c2ebd5.js => plugin_iframe.md.bd9dfbfa.js} (98%)
rename docs/document/assets/{plugin_iframe.md.05c2ebd5.lean.js => plugin_iframe.md.bd9dfbfa.lean.js} (100%)
rename docs/document/assets/{start_option.md.c93020db.js => start_option.md.55bf85c9.js} (99%)
rename docs/document/assets/{start_option.md.c93020db.lean.js => start_option.md.55bf85c9.lean.js} (98%)
diff --git a/docs/document/404.html b/docs/document/404.html
index 81230a7ed..fcdba18fb 100644
--- a/docs/document/404.html
+++ b/docs/document/404.html
@@ -6,7 +6,7 @@
404 | Artplayer.js
-
+
@@ -15,7 +15,7 @@
Skip to content 404
PAGE NOT FOUND
But if you don't change your direction, and if you keep looking, you may end up where you are heading.
-
diff --git a/docs/document/advanced/built-in.html b/docs/document/advanced/built-in.html
index a2b74384a..14b24f18d 100644
--- a/docs/document/advanced/built-in.html
+++ b/docs/document/advanced/built-in.html
@@ -6,11 +6,11 @@
高级属性 | Artplayer.js
-
+
-
-
+
+
@@ -91,7 +91,7 @@
art . on ( ' ready ' , () => {
art . notice . show = ' Video Ready To Play ' ;
-} ) 1 2 3 4 5 6 7 8
WARNING
如果想马上隐藏 notice 的显示:art.notice.show = '';
layers 管理播放器的层
add 方法用于动态添加层show 属性用于设置是否显示全部层toggle 属性用于切换是否显示全部层▶ Run Code
js var art = new Artplayer ( {
+} ) 1 2 3 4 5 6 7 8
WARNING
如果想马上隐藏 notice 的显示:art.notice.show = '';
layers 管理播放器的层
add 方法用于动态添加层remove 方法用于动态删除层update 方法用于动态更新层show 属性用于设置是否显示全部层toggle 方法用于切换是否显示全部层▶ Run Code
js var art = new Artplayer ( {
container : ' .artplayer-app ' ,
url : ' /assets/sample/video.mp4 ' ,
} ) ;
@@ -104,7 +104,7 @@
setTimeout ( () => {
art . layers . show = false ;
}, 1000 ) ;
-} ) ; 1 2 3 4 5 6 7 8 9 10 11 12 13 14
controls 管理播放器的控制器
add 方法用于动态添加控制器show 属性用于设置是否显示全部控制器toggle 属性用于切换是否显示全部控制器▶ Run Code
js var art = new Artplayer ( {
+} ) ; 1 2 3 4 5 6 7 8 9 10 11 12 13 14
controls 管理播放器的控制器
add 方法用于动态添加控制器remove 方法用于动态删除控制器update 方法用于动态更新控制器show 属性用于设置是否显示全部控制器toggle 方法用于切换是否显示全部控制器▶ Run Code
js var art = new Artplayer ( {
container : ' .artplayer-app ' ,
url : ' /assets/sample/video.mp4 ' ,
} ) ;
@@ -118,7 +118,7 @@
setTimeout ( () => {
art . controls . show = false ;
}, 1000 ) ;
-} ) ; 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
管理播放器的右键菜单
add 方法用于动态添加菜单show 属性用于设置是否显示全部菜单toggle 属性用于切换是否显示全部菜单▶ Run Code
js var art = new Artplayer ( {
+} ) ; 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
管理播放器的右键菜单
add 方法用于动态添加菜单remove 方法用于动态删除菜单update 方法用于动态更新菜单show 属性用于设置是否显示全部菜单toggle 方法用于切换是否显示全部菜单▶ Run Code
js var art = new Artplayer ( {
container : ' .artplayer-app ' ,
url : ' /assets/sample/video.mp4 ' ,
} ) ;
@@ -176,7 +176,7 @@
setTimeout ( () => {
art . mask . show = true ;
}, 1000 ) ;
-} ) ; 1 2 3 4 5 6 7 8 9 10 11
setting 管理播放器的设置面板
add 方法用于动态添加设置项show 属性用于设置是否显示全部设置项toggle 属性用于切换是否显示全部设置项update 方法动态更新设置项▶ Run Code
js var art = new Artplayer ( {
+} ) ; 1 2 3 4 5 6 7 8 9 10 11
setting 管理播放器的设置面板
add 方法用于动态添加设置项remove 方法用于动态删除设置项update 方法用于动态更新设置项show 属性用于设置是否显示全部设置项toggle 方法用于切换是否显示全部设置项▶ Run Code
js var art = new Artplayer ( {
container : ' .artplayer-app ' ,
url : ' /assets/sample/video.mp4 ' ,
setting : true ,
@@ -209,8 +209,8 @@
art . on ( ' ready ' , () => {
art . plugins . add ( myPlugin ) ;
-} ) ; 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
-
-