must add (?:/wp-includes/)(.*) in Exclude For Fix, Which File In Presto Use This JS Library ? i add all folder presto player but not work, some ID or … Must Exclude For Delay.
Please See This Error : var n = u(regeneratorRuntime.mark((function n(t, r, e) {
https://ibb.co/y6dKPgF
Must exclude :
1- /wp-includes/js/dist/vendor/regenerator-runtime.min.js
2- /wp-includes/js/dist/hooks.min.js
But Why? We Just Update to 1.6.7 and 1.6.8 and error!!
Thanks for the additional info. I think maybe it’s because our player relies on these scripts being available (they are added as dependencies). So if you are lazy loading the player dependencies, then it looks like there may be an error since they don’t exist (though our script expects them to). Does it work with those exclusions?
Yes, after depriving these files of delay, the plugin will work properly. Before That Dynamically Load JavaScript not worked For Us , Now This Options Worke Too.
Does it work with dynamic javascript turned off? There’s probably some tinkering that needs to happen with WPRocket and script dependencies.
dynamic javascript turned off or turn on Had no effect .There is currently no problem with depriving files in the wp_includes directory. If possible, solve this problem with the wp rocket plugin.
We now have a warning on Google pagespeed insights :
Reduce unused JavaScript /presto-player/dist/components/web-components/p-2b27e74b.js in all page used Presto.
Please advise on this. How many sections should this file be divided into and called to load just what each user needs?
We are working on compatibility – it’s a new feature so it will take some time to implement. I don’t think the WPRocket feature accounts for javascript modules, so we’re working on a solution to use that WPRocket setting with Presto Player.
Thank you for your efforts, lightness and fast loading are very important options for the site in recent years. I am sure that the capabilities of Presto Player will be more and more complete day by day.
Glad i found your fix Mr Saeed Miri !