Update option.md

This commit is contained in:
Harvey Zack committed 2024-09-19 18:07:03 +08:00
1 parent 610e1e6139
commit 666d1d8585
1 file changed
+1 -2
@@ -872,11 +872,10 @@ var art = new Artplayer({
Set the video subtitles, supporting subtitle formats: `vtt`, `srt`, `ass` Set the video subtitles, supporting subtitle formats: `vtt`, `srt`, `ass`
| Property | Type | Description | | Property | Type | Description |
| -------- | -------- | ------------------------------------------- | | ----------- | ---------- | --------------------------------------------- |
| `name` | `String` | Subtitle name | | `name` | `String` | Subtitle name |
| `url` | `String` | Subtitle URL | | `url` | `String` | Subtitle URL |
| `type` | `String` | Subtitle type, options: `vtt`, `srt`, `ass` | | `type` | `String` | Subtitle type, options: `vtt`, `srt`, `ass` |
| `style` | `Object` | Subtitle style | | `style` | `Object` | Subtitle style |
| `encoding` | `String` | Subtitle encoding, default `utf-8` | | `encoding` | `String` | Subtitle encoding, default `utf-8` |
| `escape` | `Boolean` | Whether to escape `html` tags, default `true` | | `escape` | `Boolean` | Whether to escape `html` tags, default `true` |