-
Hello,
when I look at the pages with videos, I get a message: “Admin JavaScript warning: I’m sorry, your JavaScript appears to be broken. Please use “Check template” in plugin settings, read our troubleshooting guide…can you help me please ?
Making the web work for you
Foliovision › Forums › FV Player › Bug Reports › Javascript Error when player loaded dynamically
Hello Lartigue,
are you able to play these videos?
Are you able to play these videos when you are not logged in?
Please send us a link to such page. Perhaps it will help us find a way of preventing this error. If your website has a hard (fatal) JavaScript error it stops any JavaScript from running, including FV Player.
Thanks,
Martin
the videos work here :https://webdesign-lartigue.ch/creation-sites-internet/portfolio/chopard-ice-cube/
but not here : https://portfolio.lartigue.ch/portfolio/chopard-ice-cube-collection-2017/
these are exactly the same videos
Hello Lartigue,
I see we are using some code which no longer works with the jQuery version in latest WordPress. We haven’t noticed this as this code is not run at all times, only when scroll autoplay is on.
Please deactivate and delete the FV Player Pro plugin you are using, then hit “Install Pro extension” at the top of the wp-admin -> Settings -> FV Player screen.
That will reinstall the Pro plugin and will give you the fixed version.
Thanks,
Martin
Hello, I don’t know why but the problem has returned
Hello Lartigue,
I checked the links you sent 6 days ago, but they seem to work fine.
Are you only running into the problem when you are logged in? Please please open your browser developer console (here’s how https://foliovision.com/player/troubleshooting/javascript-browser-console), then reload the page with video and see what comes up on the console.
Sometimes a fatal error in JavaScript stops every other JavaScript from executing (all of it, not just FV Player). I would like to see what it’s like in your case, perhaps we can find a way of making FV Player more resilient.
Thanks,
Martin
here the error in the console :
DevTools failed to load source map: Could not load content for https://portfolio.lartigue.ch/wp-content/plugins/fv-wordpress-flowplayer/flowplayer/hls.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
Hello Lartigue,
we will fix that error, but it’s not the kind of error which can really affect anything. It’s really only debugging information for developers.
We had a look and noticed the JavaScript error reported by FV Player only occurs when your page content is loaded using JavaScript – you seem to be using some variation of infinite scrolling.
Since it does not use jQuery Ajax, it requires a bit of code to let FV Player load in your dynamic environment.
We added documentation about how to make FV Player work on dynamic websites: Dynamic Content Loading
I tested this with some other popular WordPress plugin for video and I run into the same limitations. It wouldn’t work without custom code.
Thanks,
Martin
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.
Strictly Necessary Cookie allow you to log in and download your software or post to forums.
We use the WordPress login cookie and the session cookie.
If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.
Foliovision.com uses self-hosted Rocket.chat and self-hosted Freescout support desk to provide support for FV Player users. These cookies allow our visitors to chat with us and/or submit support tickets.
We are delighted to recommend self-hosted Rocket.chat and especially Freescout to other privacy-conscious independent publishers who would prefer to self-host support.
Please enable Strictly Necessary Cookies first so that we can save your preferences!
This website uses Google Analytics and Statcounter to collect anonymous information such as the number of visitors to the site, and the most popular pages.
Keeping this cookie enabled helps us to improve our website.
We reluctantly use Google Analytics as it helps us to test FV Player against popular Google Analytics features. Feel free to turn off these cookies if they make you feel uncomfortable.
Statcounter is an independent Irish stats service which we have been using since the beginning of recorded time, sixteen years ago.
Please enable Strictly Necessary Cookies first so that we can save your preferences!