From 731740f579e6d65f038014edf0a0a2a3cc76ea77 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Sat, 8 Oct 2016 11:16:01 +0800 Subject: [PATCH] fix README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7267f0c..6596296 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ var option = { + `dp.pause()` // Pause + `dp.toggle()` // Toggle between play and pause + `dp.on(event, handler)` // Event binding -+ `switchVideo(video, danmaku)` // Switch to a new video, the format of `video` and `danmaku` is the same as option ++ `dp.switchVideo(video, danmaku)` // Switch to a new video, the format of `video` and `danmaku` is the same as option + `dp.dan` // Return danmaku info + `dp.danIndex` // Return danmaku index + `dp.video` // Return native video, most [native api](http://www.w3schools.com/tags/ref_av_dom.asp) are supported