mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-28 02: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
@@ -262,7 +262,6 @@ var art = new Artplayer({
|
||||
subtitle: {
|
||||
url: '/assets/sample/subtitle.srt',
|
||||
encoding: 'utf-8',
|
||||
bilingual: true,
|
||||
style: {
|
||||
color: '#03A9F4',
|
||||
'font-size': '30px',
|
||||
@@ -296,7 +295,6 @@ var art = new Artplayer({
|
||||
subtitle: {
|
||||
url: '/assets/sample/subtitle.srt',
|
||||
encoding: 'utf-8',
|
||||
bilingual: true,
|
||||
style: {
|
||||
color: '#03A9F4',
|
||||
'font-size': '30px',
|
||||
@@ -327,7 +325,6 @@ var art = new Artplayer({
|
||||
subtitle: {
|
||||
url: '/assets/sample/subtitle.srt',
|
||||
encoding: 'utf-8',
|
||||
bilingual: true,
|
||||
style: {
|
||||
color: 'red',
|
||||
'font-size': '30px',
|
||||
@@ -340,7 +337,6 @@ art.on('ready', () => {
|
||||
setTimeout(() => {
|
||||
art.subtitle.switch('/assets/sample/subtitle.srt?t=1', {
|
||||
name: 'The new subtitle',
|
||||
bilingual: false,
|
||||
style: {
|
||||
color: 'green',
|
||||
'font-size': '24px',
|
||||
|
||||
Reference in new issue
Block a user