mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-30 20:21:20 -08:00
Update option.md
This commit is contained in:
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` |
|
||||||
|
|||||||
Reference in new issue
Block a user