Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25405
    Brajesh Singh on in reply to: Mobile menu not clickable when MediaPress is enabled #17494

    Hi Jean,
    The first things I did was to test MediaPress and I could not recreate the issue. My environment is different though. I am using BuddyPress 3.2 and MediaPress 1.4.2 with Twenty Seventeen theme and I am unable to produce the error.

    I do see the problem on your site related to the MediaElement js player which is used by MediaPress.

    The MediaElement Js player is bundled with WordPress core and all we do is enqueue it using

    
    wp_enqueue_script( 'wp-mediaelement' );
    

    It’s strange and I am not sure of the reason. Your settings as shown in image are correct.

    Can you please disable MediaPress temporarily and let me know. I just want to check quickly if the player is still loaded or not?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25405
    Brajesh Singh on in reply to: Mobile menu not clickable when MediaPress is enabled #17490

    Hi Again,
    I see that you have re enabled the post from anywhere plugin.

    I will need your help to solve the issue. I have no idea what is causing the problem on the site.

    You can see the errors in your browser’s console

    https://i.imgur.com/dqsvPTn.png

    In order to fix it, I will suggest using the WP Staging plugin and create a staging environment and try disabling plugins one by one and keep looking at the console for the js error to be gone.

    I don’t see nay other way unless I know more about the current setup.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25405
    Brajesh Singh on in reply to: Mobile menu not clickable when MediaPress is enabled #17488

    Please wait.. I might be wrong . Those are different js files.

  • Keymaster
    (BuddyDev Team)
    Posts: 25405
    Brajesh Singh on in reply to: Mobile menu not clickable when MediaPress is enabled #17487

    Please re enable it.

    It is not the plugin loading the second copy of Media Element JS Player. I have downloaded the plugin from wporg and tested it.

    Can you check your active plugins list and tell me if you think one of them is working with audio/video?

    There are two copies of the player loading and it is triggering a javscript error. That javascript error leads to your further issues. We need to find and fix the double loading and it will work.

    Please see the screenshots. The first copy is loaded on line 95
    https://i.imgur.com/nvPIs6f.png

    and another copy in the footer
    Around line 715
    https://i.imgur.com/nvPIs6f.png

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25405
    Brajesh Singh on in reply to: Mobile menu not clickable when MediaPress is enabled #17485

    Could it be the infusion soft form plugin ? I am not sure but I see it is loaded just after the assets from that plugin. Do they have any option to audio/video and do they provide any option to disable it?

  • Keymaster
    (BuddyDev Team)
    Posts: 25405
    Brajesh Singh on in reply to: Mobile menu not clickable when MediaPress is enabled #17484

    Thank you.

    I do see that. There is just one more issue remaining( You might be able to use the post anywhere plugin after we are done with this).

    Either the theme or a plugin is hardcoding and loading the MediaElement Player.

    MediaPress loads it one time and another time it is loaded by something else. In normal case, if people use wp_enqueue_script, this will not happen.

    Seems something is hardcoding it. Any idea?

  • Keymaster
    (BuddyDev Team)
    Posts: 25405
    Brajesh Singh on in reply to: Mobile menu not clickable when MediaPress is enabled #17481

    Please disable BP Post from Anywhere plugin and let me know. It is throwing javascript error currently.

  • Keymaster
    (BuddyDev Team)
    Posts: 25405
    Brajesh Singh on in reply to: Mobile menu not clickable when MediaPress is enabled #17479

    HI Jean,
    Pleas link me to the page where the issue is happening with a temporary account(subscriber) if feasible.

    It is most probably either a z-index issue of some JavaScript error that I can check quickly.

    I will be off for the day in 15 minutes or so, If you can share the details before that, I will be able to assist quickly.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25405
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25405
    This reply has been marked as private.