-
AuthorPosts
-
August 30, 2018 at 10:05 pm #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,
ErikAugust 31, 2018 at 5:18 am #1003912Hey 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,
RikardSeptember 4, 2018 at 4:20 pm #1005671Hi 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,
ErikSeptember 4, 2018 at 10:03 pm #1005790Hi,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- 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 ). - Click ” Submit “.
- 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,
BasilisSeptember 5, 2018 at 4:10 pm #1006193This reply has been marked as private.September 7, 2018 at 8:00 am #1006947Hi,
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,
PeterSeptember 7, 2018 at 4:56 pm #1007192Thank you!
September 7, 2018 at 5:58 pm #1007234Hi vcfa_it,
Glad we could help :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.