mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 01:21:20 -08:00
docs(core): [SITE-04] document lifecycle and media capabilities
This commit is contained in:
1 parent
cec5049c40
commit
e8b48cbaed
96 files changed
+5891
-3024
No files matched your search
@@ -31,7 +31,7 @@ console.info(Artplayer.version);
|
||||
|
||||
## `env`
|
||||
|
||||
返回播放器的环境变量
|
||||
历史根声明保留此字段,但冻结的 npm 5.4.0 与当前 6.0.0 运行时均未提供,读取返回 undefined,不能用来可靠判断运行环境。
|
||||
|
||||
<div className="run-code">▶ Run Code</div>
|
||||
|
||||
@@ -41,7 +41,7 @@ console.info(Artplayer.env);
|
||||
|
||||
## `build`
|
||||
|
||||
返回播放器的打包时间
|
||||
历史根声明保留此字段,但冻结的 npm 5.4.0 与当前 6.0.0 运行时均未在此提供打包时间,读取返回 undefined;需要时应使用自己的发布元信息。
|
||||
|
||||
<div className="run-code">▶ Run Code</div>
|
||||
|
||||
|
||||
Reference in new issue
Block a user