• Hi, we have a javascript error on page without any video player embedded.

    Te erro is generated by the script outputted by the “cookiebot_addon_embed_autocorrect_javascript” action in wich the existence of mediaelement library is not tested.

    i have to modify the script from:
    window.wp.mediaelement.initialize();

    to:

    if (window.wp && window.wp.mediaelement && window.wp.mediaelement.initialize) window.wp.mediaelement.initialize();

    i appreciate if you can fix this so when i update the plugin i don’t recive the error again

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Javascript error’ is closed to new replies.