“Use ARVE to embed HTML5 video files” causes the header menu to no longer expand for certain pages
Tried with default theme: No
Tried with all other plugins disabled: Yes
Browser version: Chrome Version 83.0.4103.61 and all others
Page showing the issue: https://pglu.ch/was-ist-ein-arduino-roboter/
Debug Info:
ARVE Version: 8.10.23 ARVE-Pro Version: 4.3.0 WordPress Version: 5.4.1 PHP Version: 7.3.18 ACTIVE PLUGINS: Akismet Anti-Spam: 4.1.6 ARVE Advanced Responsive Video Embedder: 8.10.23 ARVE Pro Addon: 4.3.0 Asset CleanUp: Page Speed Booster: 1.3.6.4 Beaver Builder Plugin (Pro Version): 2.3.2.5 Better Search Replace: 1.3.3 Easy Social Icons: 3.0.7 GA Google Analytics: 20200325 Kadence WooCommerce Email Designer: 1.4.1 Lazy Loader: 6.0.1 Newsletter2Go: 4.0.12 NinjaFirewall (WP Edition): 4.2.1 OneSignal Push Notifications: 2.1.2 PWA for WP: 1.7.15 Scroll to Anchor: 0.6.0 ShortPixel Image Optimizer: 4.18.1 Table Maker: 1.9.1 Vendidero Helper: 1.3.0 WooCommerce: 4.2.0 WooCommerce Customizer: 2.7.4 WooCommerce Invoice Gateway: 1.0.6 WooCommerce PDF Invoices & Packing Slips: 2.5.1 WooCommerce Smart Reminder Emails: 2.2.1 WooCommerce Stock Manager: 2.2.0 WooCommerce Stripe Gateway: 4.4.0 WPC Frequently Bought Together for WooCommerce (Premium): 3.2.0 WPC Product Bundles for WooCommerce (Premium): 5.2.0 WPC Variations Radio Buttons for WooCommerce: 2.1.1 WP Media folder: 5.1.4 WP Media folder Addon: 3.4.1 WP Media folder Gallery Addon: 2.1.6 WP Overnight Sidekick: 2.2.1 Yoast SEO Premium: 14.2 ARVE OPTIONS: array(8) { ["align"]=> string(4) "left" ["mode"]=> string(8) "lazyload" ["last_settings_tab"]=> string(26) "#arve-settings-section-pro" ["controlslist"]=> string(0) "" ["youtube_nocookie"]=> bool(false) ["wp_image_cache_time"]=> int(0) ["video_maxwidth"]=> int(1100) ["align_maxwidth"]=> int(1100) } array(1) { ["vimeo"]=> string(48) "html5=1&title=1&byline=0&portrait=0&texttrack=de" } array(0) { } ARVE PRO OPTIONS: array(2) { ["hover_effect"]=> string(4) "none" ["play_icon_style"]=> string(6) "circle" }
Option “Use ARVE to embed HTML5 video files” causes the header menu to no longer expand for certain pages.
To reproduce the error:
>select any submenu item, e.g. PGLU > Microcontroller
> select further menu items and call up these pages
> call up a page with many videos several times, e.g. BAU > Arduino Robot
>See how the Header Menu does not open anymore
Are you sure the issue is also there if you disable all other plugins? Because if you press F12 and then console you see JavaScript errors. This one shows up:
“Uncaught TypeError: $(…).mediaelementplayer is not a function” and it comes from your Asset Cleanup plugins cache with the source pointing to https://pglu.ch/wp-content/uploads/bb-plugin/cache/150-layout.js but it gets called from another asset cleanup cache file that combines all files (not needed in HTTP/2 btw)
There is a function in that file that assumes mediaelement to be loaded but when you use ARVE its NOT loaded on purpose. This is an issue with the bb-plugin I assume this is Beaver Builder. Contact them about it, they need to check if mediaelement exists first, they assume default WP Video and it being loaded all the time I assume. This may also me a caching issue. But I do not see it as an ARVE issue.
The menu probably does not work because an JS error stops execution upon error and the code controlling the menu comes later in the code.
Hi Nico,
thanks for your reply, I will check now on BB-Plugin.