• 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

Javascript Error when player loaded dynamically

[Solved]

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

  • LARTIGUE 3 years, 5 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

Bug Reports

    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‬