mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 17:01:20 -08:00
remove bilingual
This commit is contained in:
1 parent
5defc28505
commit
b4500e701f
63 files changed
+362
-335
No files matched your search
@@ -863,13 +863,12 @@ var art = new Artplayer({
|
||||
|
||||
Set the subtitles of the video, support subtitles format: `vtt`、`srt`、`ass`
|
||||
|
||||
| Property | Type | Description |
|
||||
| ----------- | --------- | ------------------------------------------------------ |
|
||||
| `url` | `String` | Subtitle url |
|
||||
| `type` | `String` | Subtitle type: `vtt`, `srt`, `ass` |
|
||||
| `style` | `Object` | Subtitle style |
|
||||
| `encoding` | `String` | Subtitle encoding, default `utf-8` |
|
||||
| `bilingual` | `Boolean` | Whether the double subtitle style is divided by a wrap |
|
||||
| Property | Type | Description |
|
||||
| ---------- | -------- | ---------------------------------- |
|
||||
| `url` | `String` | Subtitle url |
|
||||
| `type` | `String` | Subtitle type: `vtt`, `srt`, `ass` |
|
||||
| `style` | `Object` | Subtitle style |
|
||||
| `encoding` | `String` | Subtitle encoding, default `utf-8` |
|
||||
|
||||
<div className="run-code">▶ Run Code</div>
|
||||
|
||||
@@ -881,7 +880,6 @@ var art = new Artplayer({
|
||||
url: '/assets/sample/subtitle.srt',
|
||||
type: 'srt',
|
||||
encoding: 'utf-8',
|
||||
bilingual: true,
|
||||
style: {
|
||||
color: '#03A9F4',
|
||||
'font-size': '30px',
|
||||
|
||||
Reference in new issue
Block a user