mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-29 19:41:25 -08:00
docs(en): fix typos and improve wording (#980)
This commit is contained in:
1 parent
c81b1ec83b
commit
68d00e0166
4 files changed
+11
-13
No files matched your search
@@ -314,7 +314,7 @@ Manage the subtitle features of the player
|
||||
- `switch` method sets the current subtitle address and options
|
||||
- `textTrack` Get the current subtitle track
|
||||
- `activeCues` Get the currently active subtitle list
|
||||
- `cues` Get the the subtitle list
|
||||
- `cues` Get the subtitle list
|
||||
|
||||
<div className="run-code">▶ Run Code</div>
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
Once you know the player's `properties`, `methods`, and `events`, writing plugins is very simple.
|
||||
|
||||
You can load the plugin functions when instantiated.
|
||||
You can load plugin functions during instantiation.
|
||||
|
||||
<div className="run-code">▶ Run Code</div>
|
||||
|
||||
@@ -28,9 +28,7 @@ art.on('ready', () => {
|
||||
console.info(art.plugins.myPlugin);
|
||||
});
|
||||
```
|
||||
Here's the translation of the provided text into English while preserving the Markdown formatting:
|
||||
|
||||
A function that allows loading plugins after instantiation
|
||||
You can also load plugins after instantiation:
|
||||
|
||||
<div className="run-code">▶ Run Code</div>
|
||||
|
||||
|
||||
Reference in new issue
Block a user