mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-28 10:31: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`
|
||||
|
||||
Returns the environment variables of the player.
|
||||
Retained in historical root declarations, but absent at runtime in both the frozen npm 5.4.0 baseline and the current 6.0.0 build. Reading it returns undefined; it is not a reliable environment check.
|
||||
|
||||
<div className="run-code">▶ Run Code</div>
|
||||
|
||||
@@ -41,7 +41,7 @@ console.info(Artplayer.env);
|
||||
|
||||
## `build`
|
||||
|
||||
Returns the build timestamp of the player.
|
||||
Retained in historical root declarations, but neither the frozen npm 5.4.0 baseline nor the current 6.0.0 runtime provides a build timestamp here. Reading it returns undefined; use your own release metadata when needed.
|
||||
|
||||
<div className="run-code">▶ Run Code</div>
|
||||
|
||||
|
||||
Reference in new issue
Block a user