This commit is contained in:
Harvey Zack committed 2023-02-18 19:27:56 +08:00
1 parent 4b9c7fd4cf
commit e0fcc50055
102 files changed
+193 -186

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@
<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\":\"e1744c64\",\"advanced_plugin.md\":\"833da613\",\"advanced_built-in.md\":\"81c54a6d\",\"advanced_event.md\":\"481a71b7\",\"en_advanced_class.md\":\"eee4b175\",\"en_advanced_built-in.md\":\"337528fa\",\"advanced_property.md\":\"e82f1660\",\"en_advanced_plugin.md\":\"b0982084\",\"en_library_dash.md\":\"4a00dda5\",\"en_plugin_dash-quality.md\":\"5f30b48e\",\"en_library_flv.md\":\"9accacff\",\"en_index.md\":\"3fbc5d82\",\"en_library_hls.md\":\"741045ca\",\"en_plugin_hls-quality.md\":\"a01583b9\",\"en_advanced_event.md\":\"52718343\",\"en_plugin_ads.md\":\"a5692614\",\"en_plugin_control-ui.md\":\"9c006d78\",\"en_plugin_iframe.md\":\"de7f8493\",\"en_start_component.md\":\"749d92d7\",\"en_advanced_property.md\":\"7f88d40e\",\"library_dash.md\":\"28c32797\",\"library_hls.md\":\"574321e9\",\"library_flv.md\":\"4d2bf225\",\"en_start_setting.md\":\"f5565495\",\"plugin_control-ui.md\":\"5626072c\",\"plugin_ads.md\":\"88260e4f\",\"index.md\":\"572f675f\",\"plugin_dash-quality.md\":\"51290ea0\",\"plugin_hls-quality.md\":\"8578303c\",\"en_start_option.md\":\"ec4c9857\",\"plugin_iframe.md\":\"23797128\",\"plugin_danmuku.md\":\"07d87889\",\"start_component.md\":\"d8978850\",\"start_setting.md\":\"4f84d461\",\"start_option.md\":\"17aae8ea\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"advanced_class.md\":\"e1744c64\",\"advanced_built-in.md\":\"81c54a6d\",\"advanced_plugin.md\":\"833da613\",\"en_advanced_class.md\":\"eee4b175\",\"en_advanced_built-in.md\":\"337528fa\",\"advanced_event.md\":\"481a71b7\",\"en_advanced_plugin.md\":\"b0982084\",\"advanced_property.md\":\"e82f1660\",\"en_library_dash.md\":\"fa9f8c1a\",\"en_library_flv.md\":\"9accacff\",\"en_index.md\":\"64492fd8\",\"en_advanced_event.md\":\"52718343\",\"en_plugin_dash-quality.md\":\"2416a9ba\",\"en_plugin_control-ui.md\":\"838f4c7e\",\"en_advanced_property.md\":\"7f88d40e\",\"en_plugin_hls-quality.md\":\"3e20aaa9\",\"en_library_hls.md\":\"741045ca\",\"en_plugin_ads.md\":\"6dcfeff2\",\"en_start_component.md\":\"749d92d7\",\"en_plugin_iframe.md\":\"ff1012cf\",\"en_start_setting.md\":\"f5565495\",\"library_dash.md\":\"8bb7d502\",\"plugin_control-ui.md\":\"11168cb4\",\"plugin_ads.md\":\"5e673693\",\"library_hls.md\":\"574321e9\",\"library_flv.md\":\"4d2bf225\",\"plugin_dash-quality.md\":\"bd4c49c0\",\"index.md\":\"f84359de\",\"plugin_hls-quality.md\":\"82c91a8a\",\"plugin_iframe.md\":\"34013b9d\",\"en_start_option.md\":\"ec4c9857\",\"plugin_danmuku.md\":\"8a78e30c\",\"start_component.md\":\"d8978850\",\"start_setting.md\":\"4f84d461\",\"start_option.md\":\"17aae8ea\"}")</script>
<script type="module" async src="/document/assets/app.68965c12.js"></script>
</body>