feat: Update chapter title display in artplayer-plugin-chapter

This commit is contained in:
Harvey Zack committed 2024-06-02 19:12:27 +08:00
1 parent 0804d1790b
commit 2326628b86
9 files changed
+70 -58

No files matched your search

+5 -5
View File
@@ -10,11 +10,11 @@ var art = new Artplayer({
plugins: [
artplayerPluginChapter({
chapters: [
{ start: 0, end: 18, text: 'Chapter 1' },
{ start: 18, end: 36, text: 'Chapter 2' },
{ start: 36, end: 54, text: 'Chapter 3' },
{ start: 54, end: 72, text: 'Chapter 4' },
{ start: 72, end: 90, text: 'Chapter 5' },
{ start: 0, end: 18, title: 'One more chance' },
{ start: 18, end: 36, title: '谁でもいいはずなのに' },
{ start: 36, end: 54, title: '夏の想い出がまわる' },
{ start: 54, end: 72, title: 'こんなとこにあるはずもないのに' },
{ start: 72, end: 90, title: '终わり' },
]
}),
],