Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1003815

    Hello,

    I have two different sidebars on our blog, each with video widgets that link to externally-hosted videos (on Vimeo, YouTube). One sidebar (on the homepage) loads the videos just fine, while the other sidebar (which appears on blog posts) returns an error when attempting to load the exact same videos.

    The error reads: “No video with supported format and MIME type found.”

    I have tried deleting the video widgets and adding them back, but the same videos that load successfully on the homepage still do not load on the sidebar for blog posts.

    I have even tried setting the sidebar for one blog post to the sidebar that is working on the homepage, and the videos still return the same error when the working sidebar is viewed from the blog post instead of the homepage.

    Any idea what might be going on?

    Thank you,
    Erik

    #1003912

    Hey vcfa_it,

    I’m not sure if it’s the cause of your problems or not, but you are getting 520 error on some resources and it looks to be related to WordFence. Could you try deactivating WordFence to see if that helps?

    Best regards,
    Rikard

    #1005671

    Hi Rikard,

    Thanks for the reply. I did deactivate WordFence just now, but the issue persists. I did not notice any change to the site after deactivating WordFence.

    Any other ideas?

    Thanks again,
    Erik

    #1005790

    Hi,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    1. Install and activate ” Temporary Login Without Password “.
    2. Go to ” Users > Temporary Logins ” on the left-side menu.
    3. Click ” Create New “.
    4. Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
      ( do be sure that we have enough time to debug ).
    5. Click ” Submit “.
    6. You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.

    When your issue is fixed, you can always remove the plugin!
    If you prefer to not use the plugin, you can manually create a admin user and post the login credentials in the “private data” field.

    Best regards,
    Basilis

    #1006193
    This reply has been marked as private.
    #1006947

    Hi,

    I fixed it by adding this code to your child theme functions.php:

    
    add_filter( 'avf_enqueue_wp_mediaelement', 'avia_always_load_mediaelement', 10, 2);
    function avia_always_load_mediaelement($condition, $options)
    {
    	$condition = true;
    	return $condition;
    }
    

    I also had to replace line 419 in enfold/functions.php:

    
    $condition2 = ( version_compare( get_bloginfo( 'version' ), '4.9', '>=' ) ) && $condition;
    

    with

    
    $condition = apply_filters( 'avf_enqueue_wp_mediaelement', $condition, $options );
    $condition2 = ( version_compare( get_bloginfo( 'version' ), '4.9', '>=' ) ) && $condition;
    

    The next theme update will already contain this change – you don’t need to modify the enfold/functions.php again.

    Best regards,
    Peter

    #1007192

    Thank you!

    #1007234

    Hi vcfa_it,

    Glad we could help :)

    If you need further assistance please let us know.
    Best regards,
    Victoria

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.