Hi Joshua,
Thanks for being a Video Background user!
Instead of returning the $output, Video Background now uses wp_add_inline_script() to add the plugin init. This is the recommended way to add an inline script through WordPress. As a result, this should not be an issue. Perhaps it could be a different problem? If you’d be willing to share a URL I could take a closer look 🙂
Blake
Blake,
Thanks for the response!
I only noticed it because of the update and just thought it was an error. However, upon digging into a bit more I realized that in our case we’re moving the vidbg scripts around to accommodate other things, so that might be why we needed the return.
Thanks again,
Joshua
Hi Joshua,
I am glad that you found a solution!
I will be adding a helper filter that will allow you to modify Video Background’s script dependencies so it may be easier for cases where there may be a conflict with another plugin or library; this may help as it sounds like this may have been happening. This filter should be out in the next version 🙂 You’ll be able to find documentation on it here:
https://pushlabs.co/docs/video-background/
Have a great day!
Blake