Support » Plugin: The Ultimate Video Player For WordPress - by Presto Player » regeneratorRuntime is not defined

  • Resolved Mr Saeed Miri

    (@saeedmiri)


    Hi
    today after update to new version 1.6.7, my video cant display correct, downgrade to 1.6.6 but nothing changed :

    https://ibb.co/xjzLJc8

    problem is with wp rocket Delay JavaScript execution, i add p-660ec1bb.js to exclud but not work i add /wp-content/plugins/presto-player/dist/components/web-components/(.*).js but nothing , after disable Delay JavaScript execution Presto Work !! pls Fix This We Need This Option and Cant Turn Off.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter Mr Saeed Miri

    (@saeedmiri)

    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.

    Thread Starter Mr Saeed Miri

    (@saeedmiri)

    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!!

    Plugin Author Andre Gagnon

    (@2winfactor)

    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?

    Thread Starter Mr Saeed Miri

    (@saeedmiri)

    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.

    Plugin Author Andre Gagnon

    (@2winfactor)

    Does it work with dynamic javascript turned off? There’s probably some tinkering that needs to happen with WPRocket and script dependencies.

    Thread Starter Mr Saeed Miri

    (@saeedmiri)

    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?

    • This reply was modified 11 months, 4 weeks ago by Mr Saeed Miri.
    • This reply was modified 11 months, 4 weeks ago by Mr Saeed Miri.
    Plugin Author Andre Gagnon

    (@2winfactor)

    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.

    Thread Starter Mr Saeed Miri

    (@saeedmiri)

    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.

    lakeup

    (@lakeup)

    Glad i found your fix Mr Saeed Miri !

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘regeneratorRuntime is not defined’ is closed to new replies.