Foliovision › Forums › FV Player › Troubleshooting › JavaScript broken
-
Getting this error when logged in as admin:
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.
Players don’t have any controls when viewing as a regular user. All players worked until last week. I updated the plugin today to the latest version, but still no luck.
Page is:
http://www.rochemarketing.com/fbl/freedom3/Can provide password to page privately – don’t want to share publicly here.
When I run the check template and check videos, all comes up fine and green.
I’m guessing there is a conflict with another plugin maybe? But I can’t seem to figure out how to figure out which one and/or how to fix.
Thanks for any help.
-
-
Hello lunahicks,
there must be some JavaScript error on your site or perhaps some external item which blocks the page load from completing.
You should follow the Step 3. here to check if your browser is reporting any JavaScript errors.
I had a quick look and the issue appears to be with your plugin: http://wordpress.org/plugins/sharebar/
Thanks,
MartinI think it has something to do with the password protection. I got a notice on template check that I didn’t have jquery or html5.js, but on the live server it’s fine. This showed up after adding jquery ui to functions, but I only get these fv errors on the dev site.
This just happened after the last upgrade:
html5.js not found in your template! Videos might not play in old browsers, like Internet Explorer 6-8. Get it here and put it into your template.
It appears there are no Flowplayer scripts on your site, your videos might not be playing, please check. Check your template’s header.php file if it contains wp_head() function call and footer.php should contain wp_footer()!
It appears there are no jQuery library on your site, your videos might not be playing, please check.
Hello Wendy,
you should be adding the html5.js file for maximum compatibility with IE6 and IE8 like the message says.
What plugin are you using for password protection? The checked checks your homepage using Ajax, so it’s not a logged in user. So you are probably right. If you could let us know what plugin are you using to lock down the site, we can put it into a list of exclusions.
Thanks,
MartinI am getting the same error. Check template finds no errors.
It was working but I moved the site to a sub domain and now it does not. I reinstalled the plugin but it didnt fix.
http://usa.vibration-exercise-store.com/vibration-exercise-video/
Any ideas?
Cheers, CrisHello Wendy,
if it’s .htaccess then there is little our plugin can do without coding specifically for your site. I don’t see how adding jQuery UI can affect that though.
Hello Cris,
please check your browser JavaScript console. Here’s a handy guide from WordPress.org about how to check that console in various browsers, just skip right to step 3: http://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors#Step_3:_Diagnosis There might be some broken JavaScript on your site which breaks any JavaScript execution afterwards.
Thanks,
MartinIt appears my theme header.php and footer.php do have have wp_head() function call … BUT I still receive It appears there are no Flowplayer scripts on your site, your videos might not be playing, please check. Check your template’s header.php file if it contains wp_head() function call and footer.php should contain wp_footer()!
Hello ABE,
a couple of troubleshooting steps:
1) You should be seeing wp_footer() in footer.php
2) Does this also happen with the standard WordPress template (TwentyFourteen)?
3) What other plugin are you using which might be loading Flowplayer library?I’m leaving for a vacation for the rest of the week, so I’ll be able to help afterwards, but other members of our team might jump in to the discussion.
Thanks,
MartinHi Martin, thanks for your answer.
In some cases we use Flowplayer instead of the article picture. The player seems to be still there if you do a right click.
And in some cases the player makes an autostart and has no status bar and logo.
If I deactivate nextgen everything is fine and the flowplayer code is back.
We use a custom theme for the site, not for nextgen.
Hello Werner,
I had a look at your private reply and unfortunately this appears to be a problem of NextGen Gallery only. It gives a fatal JavaScript error: “script.aculo.us requires the Prototype JavaScript framework >= 1.6.0.3”
This is not something what we could affect. Prototype is not used in Worpdress, WordPress (and FV Flowplayer) uses jQuery. So it appears NextGen Gallery plugin has some compatibility issues (perhaps with WordPress 3.9.1 or your theme specifically).
Only thing that I can recommend is that you look if you can somehow turn off the Ajax functions of the galleries. Because these seem to trigger the error.
Thanks,
Martin