Video background breaks on post loop?
-
Hi,
I’ve been using video background on a webpage in-development where it so far has worked great on a blank front-page. I’ve run into a snag, for some (unknown) reason I can’t seem to get it to work on a page that contains a global $post; loop that fetches content from a custom post type. If I remove the loop it works immediately.If I use the GUI method of adding the video to page, not even the plugin JS seems to load in the page. If I go via echo do_shortcode(); I can see the JS in the footer, but still no video. I’ve tried targeting most every containing div I can think of without any luck.
Any clue what could be causing the issue? The plugin still works fine elsewhere on the site & I’ve tested it both on a local and online server with the latest wordpress to no avail.. (as the site isn’t public yet I’m afraid I am unable to link to the site in question here)
The topic ‘Video background breaks on post loop?’ is closed to new replies.