Is my only option emulating IE10 <meta http-equiv="X-UA-Compatible" content="IE=10" />?
I'm using code from the WebPlugin documentation which works fine in IE10/9 mode, but not IE=edge (11)...
Code: Select all
function registerVLCEvent(vlc, event, handler) {
if (vlc.attachEvent) {
// Microsoft
vlc.attachEvent (event, handler);
} else if (vlc.addEventListener) {
// Mozilla: DOM level 2
vlc.addEventListener (event, handler, false);
} else {
// DOM level 0
vlc["on" + event] = handler;
}
}