jQuery Script stops working when I inline/defer it

I’m testing inlining deferred scripts/libraries and I cannot get youtube bg script to work when its inline…

https://codepen.io/nando99/pen/zyRRKe - inlined/deferred

https://codepen.io/nando99/pen/zyRRXO - referenced

Anyone have any recommendations?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.