update docs

This commit is contained in:
Harvey Zack committed 2023-02-24 11:20:58 +08:00
1 parent 2011c77df4
commit f43a2921b7
117 files changed
+339 -339

No files matched your search

+5 -5
View File
@@ -6,9 +6,9 @@
<title>静态属性 | Artplayer.js</title>
<meta name="description" content="ArtPlayer.js is a modern and full featured HTML5 video player">
<link rel="preload stylesheet" href="/document/assets/style.0892d455.css" as="style">
<link rel="modulepreload" href="/document/assets/chunks/virtual_search-data.5a661f66.js">
<link rel="modulepreload" href="/document/assets/app.c78ba5b1.js">
<link rel="modulepreload" href="/document/assets/advanced_class.md.e803da2f.lean.js">
<link rel="modulepreload" href="/document/assets/chunks/virtual_search-data.d91f3c33.js">
<link rel="modulepreload" href="/document/assets/app.ad61275b.js">
<link rel="modulepreload" href="/document/assets/advanced_class.md.0b2ef250.lean.js">
<script src="/document/main.js"></script>
<link rel="stylesheet" href="/document/style.css">
@@ -36,8 +36,8 @@
<span class="line"></span></code></pre><div class="line-numbers-wrapper" aria-hidden="true"><span class="line-number">1</span><br></div></div><h2 id="html" tabindex="-1"><code>html</code> <a class="header-anchor" href="#html" aria-hidden="true">#</a></h2><p>返回播放器所需的 <code>html</code> 字符串</p><div className="run-code">▶ Run Code</div><div class="language-js line-numbers-mode"><button title="Copy Code" class="copy"></button><span class="lang">js</span><pre class="shiki material-palenight"><code><span class="line"><span style="color:#A6ACCD;">console</span><span style="color:#89DDFF;">.</span><span style="color:#82AAFF;">info</span><span style="color:#A6ACCD;">(Artplayer</span><span style="color:#89DDFF;">.</span><span style="color:#A6ACCD;">html)</span><span style="color:#89DDFF;">;</span></span>
<span class="line"></span></code></pre><div class="line-numbers-wrapper" aria-hidden="true"><span class="line-number">1</span><br></div></div><h2 id="option" tabindex="-1"><code>option</code> <a class="header-anchor" href="#option" aria-hidden="true">#</a></h2><p>返回播放器的默认选项</p><div className="run-code">▶ Run Code</div><div class="language-js line-numbers-mode"><button title="Copy Code" class="copy"></button><span class="lang">js</span><pre class="shiki material-palenight"><code><span class="line"><span style="color:#A6ACCD;">console</span><span style="color:#89DDFF;">.</span><span style="color:#82AAFF;">info</span><span style="color:#A6ACCD;">(Artplayer</span><span style="color:#89DDFF;">.</span><span style="color:#A6ACCD;">option)</span><span style="color:#89DDFF;">;</span></span>
<span class="line"></span></code></pre><div class="line-numbers-wrapper" aria-hidden="true"><span class="line-number">1</span><br></div></div><h2 id="debug" tabindex="-1"><code>DEBUG</code> <a class="header-anchor" href="#debug" aria-hidden="true">#</a></h2><h2 id="contextmenu" tabindex="-1"><code>CONTEXTMENU</code> <a class="header-anchor" href="#contextmenu" aria-hidden="true">#</a></h2><h2 id="notice-time" tabindex="-1"><code>NOTICE_TIME</code> <a class="header-anchor" href="#notice-time" aria-hidden="true">#</a></h2><h2 id="setting-width" tabindex="-1"><code>SETTING_WIDTH</code> <a class="header-anchor" href="#setting-width" aria-hidden="true">#</a></h2><h2 id="setting-item-width" tabindex="-1"><code>SETTING_ITEM_WIDTH</code> <a class="header-anchor" href="#setting-item-width" aria-hidden="true">#</a></h2><h2 id="setting-item-height" tabindex="-1"><code>SETTING_ITEM_HEIGHT</code> <a class="header-anchor" href="#setting-item-height" aria-hidden="true">#</a></h2><h2 id="indicator-size" tabindex="-1"><code>INDICATOR_SIZE</code> <a class="header-anchor" href="#indicator-size" aria-hidden="true">#</a></h2><h2 id="indicator-size-icon" tabindex="-1"><code>INDICATOR_SIZE_ICON</code> <a class="header-anchor" href="#indicator-size-icon" aria-hidden="true">#</a></h2><h2 id="indicator-size-mobile" tabindex="-1"><code>INDICATOR_SIZE_MOBILE</code> <a class="header-anchor" href="#indicator-size-mobile" aria-hidden="true">#</a></h2><h2 id="indicator-size-mobile-icon" tabindex="-1"><code>INDICATOR_SIZE_MOBILE_ICON</code> <a class="header-anchor" href="#indicator-size-mobile-icon" aria-hidden="true">#</a></h2><h2 id="volume-panel-width" tabindex="-1"><code>VOLUME_PANEL_WIDTH</code> <a class="header-anchor" href="#volume-panel-width" aria-hidden="true">#</a></h2><h2 id="volume-handle-width" tabindex="-1"><code>VOLUME_HANDLE_WIDTH</code> <a class="header-anchor" href="#volume-handle-width" aria-hidden="true">#</a></h2><h2 id="resize-time" tabindex="-1"><code>RESIZE_TIME</code> <a class="header-anchor" href="#resize-time" aria-hidden="true">#</a></h2><h2 id="scroll-time" tabindex="-1"><code>SCROLL_TIME</code> <a class="header-anchor" href="#scroll-time" aria-hidden="true">#</a></h2><h2 id="scroll-gap" tabindex="-1"><code>SCROLL_GAP</code> <a class="header-anchor" href="#scroll-gap" aria-hidden="true">#</a></h2><h2 id="auto-playback-max" tabindex="-1"><code>AUTO_PLAYBACK_MAX</code> <a class="header-anchor" href="#auto-playback-max" aria-hidden="true">#</a></h2><h2 id="auto-playback-min" tabindex="-1"><code>AUTO_PLAYBACK_MIN</code> <a class="header-anchor" href="#auto-playback-min" aria-hidden="true">#</a></h2><h2 id="auto-playback-timeout" tabindex="-1"><code>AUTO_PLAYBACK_TIMEOUT</code> <a class="header-anchor" href="#auto-playback-timeout" aria-hidden="true">#</a></h2><h2 id="reconnect-time-max" tabindex="-1"><code>RECONNECT_TIME_MAX</code> <a class="header-anchor" href="#reconnect-time-max" aria-hidden="true">#</a></h2><h2 id="reconnect-sleep-time" tabindex="-1"><code>RECONNECT_SLEEP_TIME</code> <a class="header-anchor" href="#reconnect-sleep-time" aria-hidden="true">#</a></h2><h2 id="control-hide-time" tabindex="-1"><code>CONTROL_HIDE_TIME</code> <a class="header-anchor" href="#control-hide-time" aria-hidden="true">#</a></h2><h2 id="db-clice-time" tabindex="-1"><code>DB_CLICE_TIME</code> <a class="header-anchor" href="#db-clice-time" aria-hidden="true">#</a></h2><h2 id="mobile-auto-playbackrate" tabindex="-1"><code>MOBILE_AUTO_PLAYBACKRATE</code> <a class="header-anchor" href="#mobile-auto-playbackrate" aria-hidden="true">#</a></h2><h2 id="mobile-auto-playbackrate-time" tabindex="-1"><code>MOBILE_AUTO_PLAYBACKRATE_TIME</code> <a class="header-anchor" href="#mobile-auto-playbackrate-time" aria-hidden="true">#</a></h2><h2 id="mobile-auto-orientation-time" tabindex="-1"><code>MOBILE_AUTO_ORIENTATION_TIME</code> <a class="header-anchor" href="#mobile-auto-orientation-time" aria-hidden="true">#</a></h2><h2 id="info-loop-time" tabindex="-1"><code>INFO_LOOP_TIME</code> <a class="header-anchor" href="#info-loop-time" aria-hidden="true">#</a></h2><h2 id="fast-forward-value" tabindex="-1"><code>FAST_FORWARD_VALUE</code> <a class="header-anchor" href="#fast-forward-value" aria-hidden="true">#</a></h2><h2 id="fast-forward-time" tabindex="-1"><code>FAST_FORWARD_TIME</code> <a class="header-anchor" href="#fast-forward-time" aria-hidden="true">#</a></h2><h2 id="touch-move-ratio" tabindex="-1"><code>TOUCH_MOVE_RATIO</code> <a class="header-anchor" href="#touch-move-ratio" aria-hidden="true">#</a></h2><h2 id="volume-step" tabindex="-1"><code>VOLUME_STEP</code> <a class="header-anchor" href="#volume-step" aria-hidden="true">#</a></h2><h2 id="seek-step" tabindex="-1"><code>SEEK_STEP</code> <a class="header-anchor" href="#seek-step" aria-hidden="true">#</a></h2><h2 id="progress-height" tabindex="-1"><code>PROGRESS_HEIGHT</code> <a class="header-anchor" href="#progress-height" aria-hidden="true">#</a></h2><h2 id="playback-rate" tabindex="-1Line truncated
<script>__VP_HASH_MAP__ = JSON.parse("{\"advanced_class.md\":\"e803da2f\",\"advanced_built-in.md\":\"e5740d8b\",\"advanced_plugin.md\":\"eb56a980\",\"advanced_event.md\":\"bb4c37a9\",\"en_advanced_class.md\":\"ea7cfba1\",\"en_advanced_built-in.md\":\"442aee9e\",\"en_advanced_plugin.md\":\"04284d90\",\"advanced_property.md\":\"a30dbeda\",\"en_advanced_event.md\":\"17884661\",\"en_library_dash.md\":\"d361742f\",\"en_library_flv.md\":\"1f088608\",\"en_index.md\":\"175c3143\",\"en_library_hls.md\":\"620a2a4c\",\"en_plugin_ads.md\":\"908a7fa0\",\"en_plugin_control-ui.md\":\"73efa259\",\"en_library_webtorrent.md\":\"e9799338\",\"en_plugin_hls-quality.md\":\"6c29d6c0\",\"en_plugin_dash-quality.md\":\"6dbd5cee\",\"en_advanced_property.md\":\"58b0e491\",\"en_plugin_iframe.md\":\"739a2732\",\"en_start_component.md\":\"9343bf9d\",\"en_start_option.md\":\"487c99fd\",\"library_dash.md\":\"6dc8c7e8\",\"en_start_setting.md\":\"e5148d42\",\"library_flv.md\":\"d8a57c45\",\"library_hls.md\":\"57e85d84\",\"library_webtorrent.md\":\"4bfad84f\",\"plugin_ads.md\":\"f957ba08\",\"index.md\":\"8656b6de\",\"plugin_control-ui.md\":\"e270f1a3\",\"plugin_dash-quality.md\":\"87ab94fb\",\"plugin_hls-quality.md\":\"cc8ef13e\",\"start_component.md\":\"a0d93ae1\",\"plugin_iframe.md\":\"f0f576a4\",\"plugin_danmuku.md\":\"c1e2e657\",\"start_setting.md\":\"b7d82c1c\",\"start_option.md\":\"7ddf67ec\"}")</script>
<script type="module" async src="/document/assets/app.c78ba5b1.js"></script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"advanced_class.md\":\"0b2ef250\",\"advanced_built-in.md\":\"48a4ab23\",\"advanced_plugin.md\":\"a1b84d57\",\"en_advanced_class.md\":\"41b73f7c\",\"en_advanced_built-in.md\":\"bbe017fc\",\"advanced_property.md\":\"be261cbe\",\"en_advanced_plugin.md\":\"e616bfed\",\"advanced_event.md\":\"57f904d5\",\"en_library_flv.md\":\"0171239d\",\"en_library_dash.md\":\"2e03e995\",\"en_advanced_event.md\":\"1b7bace0\",\"en_library_hls.md\":\"2f42ec93\",\"en_plugin_hls-quality.md\":\"ee8f1871\",\"en_plugin_dash-quality.md\":\"dd58ef1f\",\"en_plugin_ads.md\":\"9d743778\",\"en_library_webtorrent.md\":\"98befbfc\",\"en_index.md\":\"11f3857f\",\"en_plugin_iframe.md\":\"27b16170\",\"en_plugin_control-ui.md\":\"fb9d06e2\",\"en_start_component.md\":\"a8553ba9\",\"en_advanced_property.md\":\"3a278a0b\",\"library_flv.md\":\"44b55920\",\"en_start_setting.md\":\"9da60771\",\"library_dash.md\":\"d41a1806\",\"library_hls.md\":\"cd760e7f\",\"library_webtorrent.md\":\"bccff75e\",\"plugin_control-ui.md\":\"202c3dc3\",\"start_component.md\":\"b1b531ac\",\"index.md\":\"89d9fcd6\",\"plugin_hls-quality.md\":\"aa5de94c\",\"plugin_ads.md\":\"5b0d5363\",\"plugin_dash-quality.md\":\"4c287d1a\",\"plugin_danmuku.md\":\"dd0934d2\",\"plugin_iframe.md\":\"ad14cf5e\",\"en_start_option.md\":\"b25770ff\",\"start_setting.md\":\"dd2b81cc\",\"start_option.md\":\"20f71bce\"}")</script>
<script type="module" async src="/document/assets/app.ad61275b.js"></script>
</body>
</html>