From 666d1d8585c3b3944c07b37a107fa6297bd24e06 Mon Sep 17 00:00:00 2001 From: Harvey Zack Date: Thu, 19 Sep 2024 18:07:03 +0800 Subject: [PATCH] Update option.md --- .../artplayer-vitepress/docs/en/start/option.md | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/packages/artplayer-vitepress/docs/en/start/option.md b/packages/artplayer-vitepress/docs/en/start/option.md index ca61f27fe..667af2a26 100644 --- a/packages/artplayer-vitepress/docs/en/start/option.md +++ b/packages/artplayer-vitepress/docs/en/start/option.md @@ -871,16 +871,15 @@ var art = new Artplayer({ Set the video subtitles, supporting subtitle formats: `vtt`, `srt`, `ass` -| Property | Type | Description | -| -------- | -------- | ------------------------------------------- | -| `name` | `String` | Subtitle name | -| `url` | `String` | Subtitle URL | -| `type` | `String` | Subtitle type, options: `vtt`, `srt`, `ass` | - -| `style` | `Object` | Subtitle style | -| `encoding` | `String` | Subtitle encoding, default `utf-8` | +| Property | Type | Description | +| ----------- | ---------- | --------------------------------------------- | +| `name` | `String` | Subtitle name | +| `url` | `String` | Subtitle URL | +| `type` | `String` | Subtitle type, options: `vtt`, `srt`, `ass` | +| `style` | `Object` | Subtitle style | +| `encoding` | `String` | Subtitle encoding, default `utf-8` | | `escape` | `Boolean` | Whether to escape `html` tags, default `true` | -| `onVttLoad` | `Function` | Function to modify `vtt` text | +| `onVttLoad` | `Function` | Function to modify `vtt` text |
▶ Run Code