Skip to content

Commit

Permalink
Fixed undefined error.
Browse files Browse the repository at this point in the history
There is no Component.registerTech(). It's Tech.registerTech()
  • Loading branch information
ksjun committed Nov 16, 2015
1 parent 0e1c424 commit 1ad9805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/video.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ videojs.getTech = Tech.getTech;
* @mixes videojs
* @method registerTech
*/
videojs.registerTech = Component.registerTech;
videojs.registerTech = Tech.registerTech;

/**
* A suite of browser and device tests
Expand Down

0 comments on commit 1ad9805

Please sign in to comment.