Title: Broken on Update
Last modified: May 21, 2018

---

# Broken on Update

 *  Resolved [Joshua David Nelson](https://wordpress.org/support/users/joshuadnelson/)
 * (@joshuadnelson)
 * [8 years ago](https://wordpress.org/support/topic/broken-on-update/)
 * Hello,
 * It looks like you’ve removed the `return $output;` from the main shortcode function.
   This is resulting in the video background not working on the front end of our
   site.
 * I’m guessing others in the forum recently having issues are a result of this 
   as well.
 * Thanks,
    Joshua

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [pushlabs](https://wordpress.org/support/users/pushlabs/)
 * (@pushlabs)
 * [8 years ago](https://wordpress.org/support/topic/broken-on-update/#post-10310672)
 * 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
 *  Thread Starter [Joshua David Nelson](https://wordpress.org/support/users/joshuadnelson/)
 * (@joshuadnelson)
 * [8 years ago](https://wordpress.org/support/topic/broken-on-update/#post-10310695)
 * 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
 *  Plugin Author [pushlabs](https://wordpress.org/support/users/pushlabs/)
 * (@pushlabs)
 * [8 years ago](https://wordpress.org/support/topic/broken-on-update/#post-10310726)
 * 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/](https://pushlabs.co/docs/video-background/)
 * Have a great day!
 * Blake

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Broken on Update’ is closed to new replies.

 * ![](https://ps.w.org/video-background/assets/icon-256x256.png?rev=2774411)
 * [Video Background](https://wordpress.org/plugins/video-background/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/video-background/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/video-background/)
 * [Active Topics](https://wordpress.org/support/plugin/video-background/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/video-background/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/video-background/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [pushlabs](https://wordpress.org/support/users/pushlabs/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/broken-on-update/#post-10310726)
 * Status: resolved