I found the problem and fix. It only doesn’t work when I’m logged in and editing.
Here is what led me to this conclusion:
https://ww.wp.xz.cn/support/topic/slideshow-error-this-slideshow-requires-javascript-admin-bar-v2js47-1?replies=3
It’s an admin-bar-v2 problem.