mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
@@ -1,7 +1,7 @@
|
||||
// Tests for Video.js API
|
||||
/// <reference path="videojs.d.ts" />
|
||||
|
||||
_V_("example_video_1").ready(function(){
|
||||
videojs("example_video_1").ready(function(){
|
||||
|
||||
var myPlayer:VideoJSPlayer = this;
|
||||
|
||||
@@ -70,4 +70,4 @@ _V_("example_video_1").ready(function(){
|
||||
};
|
||||
//myPlayer.addEvent("volumechange", myFunc);
|
||||
//myPlayer.removeEvent("volumechange", myFunc);
|
||||
});
|
||||
});
|
||||
|
||||
2
videojs/videojs.d.ts
vendored
2
videojs/videojs.d.ts
vendored
@@ -50,4 +50,4 @@ interface VideoJSStatic {
|
||||
(id: any, options?: VideoJSOptions, ready?: () => void): VideoJSPlayer;
|
||||
}
|
||||
|
||||
declare var _V_:VideoJSStatic;
|
||||
declare var videojs:VideoJSStatic;
|
||||
|
||||
Reference in New Issue
Block a user