mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-29 02:51:20 -08:00
docs: add missing code block closures in documentation files
This commit is contained in:
1 parent
a516c0b204
commit
0044053348
5 files changed
+7
-1
No files matched your search
@@ -494,6 +494,7 @@ var art = new Artplayer({
|
||||
url: '/assets/sample/video.mp4',
|
||||
fullscreenWeb: true,
|
||||
});
|
||||
```
|
||||
|
||||
## `subtitleOffset`
|
||||
|
||||
@@ -885,7 +886,6 @@ Set video subtitles, supported subtitle formats: `vtt`, `srt`, `ass`
|
||||
| `name` | `String` | Subtitle name |
|
||||
| `url` | `String` | Subtitle URL |
|
||||
| `type` | `String` | Subtitle type, options: `vtt`, `srt`, `ass` |
|
||||
|
||||
| `style` | `Object` | Subtitle style |
|
||||
| `encoding` | `String` | Subtitle encoding, defaults to `utf-8` |
|
||||
| `escape` | `Boolean` | Whether to escape `html` tags, defaults to `true` |
|
||||
|
||||
Reference in new issue
Block a user