WordPress.org

Ready to get started?Download WordPress

Forums

Autoptimize
[resolved] audio/mediaelements.js (6 posts)

  1. blau
    Member
    Posted 8 months ago #

    It seems that I have a problem with audio embed via the native WordPress MediaElement.js.

    If set Autoptimize to optimize javascript, audio embeds w/ player do not work even if I exclude this scripts:

    mediaelement-and-player.min.js,wp-mediaelement.js

    If I disable javascript optimization, audio embeds and player work smoothly. Do you have any idea? I am escluding the right scripts?

    Autoptimize 1.7.0

    http://wordpress.org/plugins/autoptimize/

  2. futtta
    Member
    Plugin Author

    Posted 8 months ago #

    Errr ... jQuery seems to be a prerequisite, so you'll probably have to exclude that as well.

  3. blau
    Member
    Posted 8 months ago #

    Thank you, I'm testing it with several browsers and conditions, will let you know.

  4. futtta
    Member
    Plugin Author

    Posted 8 months ago #

    We're you finally able to get this working Blau? Always interesting to see have users document their config, esp. when javascript issues had to be solved.

  5. blau
    Member
    Posted 8 months ago #

    Seems that excluding this script list from javascript optimization resolves the issue:

    mediaelement,jquery,mediaelement-and-player.min.js,wp-mediaelement.js

    Thank you Frank!

  6. futtta
    Member
    Plugin Author

    Posted 8 months ago #

    thanks for the feedback!

Reply

You must log in to post.

About this Plugin

About this Topic