docs(en): fix typos and improve wording (#980)

This commit is contained in:
Harvey Zhao authored and GitHub committed 2025-06-20 09:53:34 +08:00
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>