diff --git a/videojs/videojs-tests.ts b/videojs/videojs-tests.ts index ec2d83115..00a70a661 100644 --- a/videojs/videojs-tests.ts +++ b/videojs/videojs-tests.ts @@ -1,7 +1,7 @@ // Tests for Video.js API /// -_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); -}); \ No newline at end of file +}); diff --git a/videojs/videojs.d.ts b/videojs/videojs.d.ts index 0c56522ff..f6897627a 100644 --- a/videojs/videojs.d.ts +++ b/videojs/videojs.d.ts @@ -50,4 +50,4 @@ interface VideoJSStatic { (id: any, options?: VideoJSOptions, ready?: () => void): VideoJSPlayer; } -declare var _V_:VideoJSStatic; +declare var videojs:VideoJSStatic;