• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Foliovision

  • Weblog
    • FV Player
    • WordPress
    • Video of the Week
    • Case Studies
    • Business
  • About
    • Testimonials
    • Meet the Team
    • We Support
    • Careers
    • Contact
    • Pricing
  • Products
  • Support
    • FV Player Docs
    • Pro Support
  • Login
  • Basket is empty

video not playing because of bad external scripts

Foliovision › Forums › FV Player › Troubleshooting › video not playing because of bad external scripts

  • Andrew H. 11 years, 11 months ago

    Hey guys,

    So just updated to latest version of plugin (2.2) and it is breaking across my site throwing this error…

    PHP Warning: Invalid argument supplied for foreach() in /var/www/learntoplayguitartv.com/wp-content/plugins/fv-wordpress-flowplayer/controller/frontend.php on line 274

    The player displays, but is overlaid with text of the control functions. There’s no play button and the splash image is zoomed way in. Any idea of how to fix this?

    I’ve already re-saved settings, de-activated, deleted, then re-installed plugin with no effect and so had to downgrade to old version using your site recommended fix and of course, works with the old version.

    Thanks,

    Andrew

Viewing 10 replies - 1 through 10 (of 10 total)
  • Martin 12 years ago

    Hello Andrew,

    sorry about the inconvenience. Have you tried version 2.2.1? There were issues in the CSS optimization. We also put in the fix for the PHP warning into it just now.

    Thanks,
    Martin

    Andrew H. 12 years ago

    Hey Martin, thanks for the reply. Just tried 2.2.1 and get an Admin warning “I’m sorry, your JavaScript appears to be broken. Please use “Check template” in plugin settings or order our pro support and we will get it fixed for you.”

    Previous version before 2.2 or 2.1 (whatever was pre 2/24) worked fine but don’t have that .zip file so can’t downgrade to the 2.0 versions.

    No other changes were made to the site and no other plugins were updated.

    What seems to be happening though is a Javascript conflict with W3TC and Aweber analytics.

    When I deactivate W3TC things work. With it active, the pages are hanging on Aweber’s JS analytics call.

    As another note, Firefox seems to be responding now while Safari is the one throwing that Admin message across all videos.

    I’m now downgrading back so as not to keep active members from watching videos…but hopefully there’s a fix :-)

    Martin 12 years ago

    Hello Andrew,

    the admin warning only shows to admins letting you know that there is an issue.

    Could you please let us know what W3TC settings do you use? A screenshot would be great, just send it in as a email reply.

    Which version works for you, is it 2.1.52? http://downloads.wordpress.org/plugin/fv-wordpress-flowplayer.2.1.52.zip

    Thanks,
    Martin

    Andrew H. 12 years ago

    Hey,

    This version is still problematic and actually Firefox and Safari are behaving the same. Had to wipe cache in both and with that done both mis-behave. It seems to be it’s just any JS being loaded…AWeber, Jetpack, etc…page load hangs, video unplayable and as you said, if logged in as admin, I see the message.

    I have Page, Fragment, and Browser Cache active using Disk mode with default JS minify settings.

    Andrew H. 12 years ago

    I should note that eventually the pages are loading, but we’re talking upwards of a minute for these JS script hangs to gravatar and aweber to process and then the videos play fine (the text controls showing over the player window is resolved in all versions). It also seems to be affecting v1.2.17 right now.

    AWeber is under a DDos attack right now and so all their servers are down…not sure how long a time-out takes, but maybe that is affecting something??

    Martin 12 years ago

    Hello Andrew,

    indeed, you site hangs on “Loading forms.aweber.com…” for me.

    The problem is that this script is inserted in a way that it blocks everything else. All scripts need to be in footer, that’s the best practice. The external ones at the very end.

    I tried W3 Total Cache (although we prefer Hyper Cache, read why) and configured it to minify all CSS, and JS. No issues. I added JetPack, no issue wither.

    So it must be Aweber as far as I can tell. I suggest you get rid of it for now. Then you can ask support to provide a proper asynchronous loading script which won’t fail like this even when DoS attack is taking place.

    People occasionally have issues like this and then they blame our player for not working, so that’s why we put up the admin warning – so you know there is a general JavaScript issue on the site which can run everything.

    Thanks,
    Martin

    Andrew H. 12 years ago

    Awesome! Thanks Martin. When AWeber is back up I’ll send their support a message. Since I need their tracking and web forms though, not sure I can ditch the plugin.

    I like that new admin message format and it was helpful in pointing me in the right direction. And I’m also becoming more aware of checking my logs to see if any particular plugin is throwing an error.

    Hope the music is going well man!!!

    Andrew H. 12 years ago

    Just one more note. I deactivated AWeber’s plugin and that fixes it. However, even installing a line of JavaScript into a post/page or widget hangs the site and thus the Flowplayer plugin.

    So how can you have any JavaScript in the content and not kill the video player? Do I have to resort back to html forms??!! NOOOOOOOOO :-) LOL

    Thanks.

    zach 12 years ago

    I’m getting the same error messgae “I’m sorry, your JavaScript appears to be broken. Please use “Check template” in plugin settings or order our pro support and we will get it fixed for you” and have no idea what to do. Help?

    Martin 12 years ago

    Hello Zach,

    did you tried to use the “Check template” on the plugin settings screen? What kind of output did you get?

    Hello Andrew,

    this is something we have to figure out. We follow the best JavaScript practices by putting our scripts in the footer. On the other hand it’s not the most compatible solution if there is some dirty coding like in AWeber’s case. It’s fine 99.9% of the time, but if the inline AWeber code fails to load as their server is down, you get into trouble.

    Thanks,
    Martin

Viewing 10 replies - 1 through 10 (of 10 total)
Reply To: video not playing because of bad external scripts



Please Sign in or Register to upload files.

Related Posts

  1. Incompatible Plugins and Scripts

  2. Playing YouTube videos in your own player

  3. Using the Video Lightbox Effect

Primary Sidebar

Troubleshooting

    Categories

    • Business
    • Camera Reviews
    • Case Studies
    • Design
    • FV Player
    • Internet Marketing
    • IT
    • Life
    • SEO
    • Slovak
    • Video of the Week
    • WordPress

    Footer

    Our Plugins

    • FV WordPress Flowplayer
    • FV Thoughtful Comments
    • FV Simpler SEO
    • FV Antispam
    • FV Gravatar Cache
    • FV Testimonials

    Free Tools

    • Pandoc Online
    • Article spinner
    • WordPress Password Finder
    • Delete LinkedIn Account
    • Responsive Design Calculator
    Foliovision logo
    All materials © 2026 Foliovision s.r.o. | Panská 12 - 81101 Bratislava - Slovakia | info@foliovision.com
    • This Site Uses Cookies
    • Privacy Policy
    • Terms of Service
    • Site Map
    • Contact
    • Tel. ‭+421 2/5292 0086‬