3.1.1
Improved hook inheritance.
Added the ability to set global hooks that apply to all instances or local hooks that apply to the current instance only.
Global hook example:
var player = new YouTubeToHtml5();
var myCallback = function() { console.log('example'); };
var hookPriority = 10;
var isGlobal = true;
player.addAction('api.end', myCallback, hookPriority, isGlobal);