Merge pull request #2032 from martinduparc/patch-4

_V_ is deprecated
This commit is contained in:
Masahiro Wakame
2014-04-15 17:03:05 +09:00
2 changed files with 3 additions and 3 deletions

View File

@@ -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);
});
});

View File

@@ -50,4 +50,4 @@ interface VideoJSStatic {
(id: any, options?: VideoJSOptions, ready?: () => void): VideoJSPlayer;
}
declare var _V_:VideoJSStatic;
declare var videojs:VideoJSStatic;