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

Foliovision

Main navigation

  • 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

Javascript Error when player loaded dynamically

[Solved]

Foliovision › Forums › FV Player › Bug Reports › Javascript Error when player loaded dynamically

  • LARTIGUE 2 years, 8 months ago

    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 ?

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

    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

    LARTIGUE 3 years ago

    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

    LARTIGUE 3 years ago

    if you load the page a second time, the first video plays automatically.

    The autoplay scroll still doesn’t work.

    thanks

    Martin 3 years ago

    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

    LARTIGUE 3 years ago

    Excellent !
    thank you very much Martin :D

    LARTIGUE 3 years ago

    Hello, I don’t know why but the problem has returned

    capture-decran-2022-09-22-a-09-23-58
    Capture-décran-2022-09-22-à-09.23.58
    Martin 3 years ago

    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

    LARTIGUE 3 years ago

    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

    Martin 3 years ago

    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

    LARTIGUE 3 years ago

    ok thank you

Viewing 10 replies - 1 through 10 (of 10 total)
Reply To: Javascript Error when player loaded dynamically



Please Sign in or Register to upload files.

Related Posts

  1. Admin JavaScript warning

    Admin JavaScript warning

  2. AMP pages: Admin JavaScript warning: ERROR

    AMP pages: Admin JavaScript warning: ERROR

  3. FV Player javascript error if page has Jetpack gallery

    FV Player javascript error if page has Jetpack gallery

Primary Sidebar

Sign in Register
FV Player Docs Post New Topic

Welcome

to Foliovision support forums! We'll be happy to provide free support to resolve all the reported bugs. You always can start by specifying your OS and browser and steps to reproduce the bug.

If you need help with the installation on your site, please submit a request for a Pro Support Incident. We'll have you up and running in no time, with detailed instructions on how to resolve your issue yourself in the future.

Facing a hard to solve WordPress problem? On a tight deadline?

Let us take care of it for you
right now.

Pro Support Buy FV Player

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 © 2025 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‬

We are using cookies to give you the best experience on our website.

You can find out more about which cookies we are using or switch them off in .

Powered by  GDPR Cookie Compliance
Privacy Overview

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.

Necessary Cookies

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.

Support Cookies

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!

3rd Party Cookies

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!