Merge pull request #544 from vbortone/master

"addEvent" and "removeEvent" were replaced by "on" and "off"
This commit is contained in:
Boris Yankov
2013-05-13 05:21:59 -07:00

View File

@@ -40,12 +40,12 @@ interface VideoJSPlayer {
requestFullScreen(): VideoJSPlayer;
cancelFullScreen(): VideoJSPlayer;
ready(callback: () => void ): void;
addEvent(eventName: string, callback: () => void ): void;
removeEvent(eventName: string, callback: () => void ): void;
on(eventName: string, callback: () => void ): void;
off(eventName: string, callback: () => void ): void;
}
interface VideoJSStatic {
(id: any, options?: VideoJSOptions, ready?: () => void): VideoJSPlayer;
}
declare var _V_:VideoJSStatic;
declare var _V_:VideoJSStatic;