• Resolved Turbojohan

    (@turbojohan)


    Thx for a great plugin. I noticed that the plugin caused all jquery to crash when I tested with IE8.

    The error is in this file:
    /wp-content/plugins/advanced-responsive-video-embedder/public/assets/js/public.js

    On row 64

    ————————————
    To fix this issue just detect if it is IE 8 or lighter.

    I use modernizer, so this was the fix for me:

    if (!$('html').hasClass('lt-ie9')) {
    			document.addEventListener("keydown", function(e) {
    				if (e.keyCode == 13) {
    					toggleFullScreen();
    				}
    			}, false);
    		}

    It would be nice if you could fix this in next version! 😉

    http://ww.wp.xz.cn/plugins/advanced-responsive-video-embedder/

Viewing 1 replies (of 1 total)
  • Plugin Author Nico

    (@nico23)

    Thanks this is actually experimental code that is not even used, I will remove it for the time being.

Viewing 1 replies (of 1 total)

The topic ‘IE8 error and possible fix’ is closed to new replies.