(function( window, settings ) {
var NativeHandler, YouTubeHandler;
window.wp = window.wp || {};
if ( ! ( 'addEventListener' in window ) ) {
return;
}
function trigger( target, name ) {
var evt;
if ( 'function' === typeof window.Event ) {
evt = new Event( name );
} else {
evt = document.createEvent( 'Event' );
evt.initEvent( name, true, true );
}
target.dispatchEvent( evt );
}
function CustomHeader() {
this.handlers = {