• Resolved robmaceachern

    (@robmaceachern)


    Great work with the theme – it’s fantastic.

    I noticed a JS error with ligonberry 1.24:
    Uncaught TypeError: Object [object Object] has no method 'mediaelementplayer'

    It looks like the mediaelement-and-player.min.js script was not being included. To patch it I added the following line to lingonberry_load_javascript_files in functions.php:

    wp_enqueue_script( 'lingonberry_mediaelement' );

    I’m not very familiar with WP theme dev, so there may be better ways of fixing this.

    Thanks.

Viewing 1 replies (of 1 total)
  • Theme Author Anders Norén

    (@anlino)

    Hi robmaceachern,

    Hm, strange. I’ve uploaded an update with medialelement.js enqueued. Thanks for the bug report!

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