-
Notifications
You must be signed in to change notification settings - Fork 211
Open
Labels
Description
The Interactive Video block does not work when the “Minify JavaScript Files” option is enabled in the SiteGround Speed Optimizer plugin. Neither the breakpoints nor the Required feature are working. The interactive progress bar does not start at all.
This issue does not occur with LiteSpeed’s similar JavaScript minification feature; everything works perfectly there.
Steps to Reproduce
- Install and activate SiteGround Speed Optimizer plugin
- Go to Speed Optimizer » Frontend » JAVASCRIPT settings and enable Minify JavaScript Files option.
- Add an Interactive Video block to a lesson (or post).
- View the lesson (or post) on the frontend.
- The Interactive Video block does not work. Neither the breakpoints nor the Required feature are working. The interactive progress bar does not start at all.
What I Expected
The Interactive Video block should work even when JavaScript minification is enabled.
What Happened Instead
The Interactive Video block stops working completely when JS minification is enabled in SiteGround Speed Optimizer. There is no problem with LiteSpeed's similar JS minification feature.
PHP / WordPress / Sensei LMS version
WordPress v6.9
PHP 8.2.30
Sensei LMS Version: 4.25.2 | Sensei Pro Version: 1.24.5
Additional context
- I have not yet tested all interactive Sensei features, but it is possible that other interactive blocks (e.g. Hotspot) are affected by the same issue.
- There could be a lot of SiteGround-hosted sites where enabling JS minification could cause this problem.
Reactions are currently unavailable