Title: regeneratorRuntime is not defined
Last modified: September 29, 2021

---

# regeneratorRuntime is not defined

 *  Resolved [Mr Saeed Miri](https://wordpress.org/support/users/saeedmiri/)
 * (@saeedmiri)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/regeneratorruntime-is-not-defined/)
 * 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](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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fregeneratorruntime-is-not-defined%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Thread Starter [Mr Saeed Miri](https://wordpress.org/support/users/saeedmiri/)
 * (@saeedmiri)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/regeneratorruntime-is-not-defined/#post-14921264)
 * 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](https://wordpress.org/support/users/saeedmiri/)
 * (@saeedmiri)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/regeneratorruntime-is-not-defined/#post-14922469)
 * Please See This Error : var n = u(regeneratorRuntime.mark((function n(t, r, e){
 * [https://ibb.co/y6dKPgF](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](https://wordpress.org/support/users/2winfactor/)
 * (@2winfactor)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/regeneratorruntime-is-not-defined/#post-14922476)
 * 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](https://wordpress.org/support/users/saeedmiri/)
 * (@saeedmiri)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/regeneratorruntime-is-not-defined/#post-14923692)
 * 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](https://wordpress.org/support/users/2winfactor/)
 * (@2winfactor)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/regeneratorruntime-is-not-defined/#post-14924752)
 * 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](https://wordpress.org/support/users/saeedmiri/)
 * (@saeedmiri)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/regeneratorruntime-is-not-defined/#post-14930053)
 * 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 4 years, 6 months ago by [Mr Saeed Miri](https://wordpress.org/support/users/saeedmiri/).
    -  This reply was modified 4 years, 6 months ago by [Mr Saeed Miri](https://wordpress.org/support/users/saeedmiri/).
 *  Plugin Author [Andre Gagnon](https://wordpress.org/support/users/2winfactor/)
 * (@2winfactor)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/regeneratorruntime-is-not-defined/#post-14936494)
 * 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](https://wordpress.org/support/users/saeedmiri/)
 * (@saeedmiri)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/regeneratorruntime-is-not-defined/#post-14937181)
 * 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](https://wordpress.org/support/users/lakeup/)
 * (@lakeup)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/regeneratorruntime-is-not-defined/#post-15019199)
 * 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.

 * ![](https://ps.w.org/presto-player/assets/icon-256x256.png?rev=2831276)
 * [The Ultimate Video Player For WordPress - by Presto Player](https://wordpress.org/plugins/presto-player/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/presto-player/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/presto-player/)
 * [Active Topics](https://wordpress.org/support/plugin/presto-player/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/presto-player/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/presto-player/reviews/)

 * 9 replies
 * 3 participants
 * Last reply from: [lakeup](https://wordpress.org/support/users/lakeup/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/regeneratorruntime-is-not-defined/#post-15019199)
 * Status: resolved