Plugin Author
Ulrich
(@grapplerulrich)
It looks like the problem is most likely with the caching. Please disable the caching and then see if it works.
Thread Starter
eenzoo
(@eenzoo)
Ulrich, thanks for reply. There is no active caching plugin, but after your hint i deactivate Autoptimize (ww.wp.xz.cn/plugins/autoptimize/)
Your plugin works fine again. But i would like to run both!
Plugin Author
Ulrich
(@grapplerulrich)
The problem was that autoptimize was not fetching the flowplayer script. Perhaps there is an option to exclude it from the autoptimize. The flowplayer script is only being loaded if there is a video on the page.
Perhaps there is an option to exclude it from the autoptimize.
absolutely; autoptimize settings -> show advanced settings -> exclude from js optimization (which is a comma-seperated list).
so if Ulrich can specify which JS to exclude, eenzoo can add it there and all will be fine 🙂
let me know if I can help!
frank (ao dev)
Thread Starter
eenzoo
(@eenzoo)
Frank, just found. Thanks a lot!
Ulrich, i would appreciate that info 🙂
Thanks and Grüezi nach Bern!
Plugin Author
Ulrich
(@grapplerulrich)
The handles for the scripts are: flowplayer5-script(main script), flowplayer5-quality-selector(to switch between video qualities), magnific-popup(lightbox)
If you need any more information you could use the Query Monitor plugin to get a list of scripts that are loaded on the page.
Thread Starter
eenzoo
(@eenzoo)
Exclude scripts from Autoptimize: flowplayer5-script,flowplayer5-quality-selector,magnific-popup
Without any effect, i´m wrong?
Plugin Author
Ulrich
(@grapplerulrich)
ao exclusions indeed are not based on handles, but paths/ filenames, so plugins/flowplayer5 might work, but if FP depends on jquery you might have to exclude that as well.
frank