DIYgod %!s(int64=9) %!d(string=hai) anos
pai
achega
731740f579
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      README.md

+ 1 - 1
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