From 9330e45ff8a068948fc765ccdcefa1173384f4c0 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Sat, 29 Sep 2018 02:09:13 +0800 Subject: [PATCH] docs: fix highlight demo --- docs/config.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/config.js b/docs/config.js index 8987fa2..f376d92 100644 --- a/docs/config.js +++ b/docs/config.js @@ -159,6 +159,16 @@ function dplayer3 () { console.log(player); } } + ], + highlight: [ + { + time: 20, + text: '这是第 20 秒' + }, + { + time: 120, + text: '这是 2 分钟' + } ] }); }