• 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

How to find out which player triggered the error (JS API)

[Solved]

Foliovision › Forums › FV Player › How to … › How to find out which player triggered the error (JS API)

  • miksmusic 3 years, 9 months ago

    Hi!
    I have several players on a page. It may happen that occasionally that one of these players will trigger an error (a network error, for example).

    I can capture the error event via the api. That works just great.

    But how do I know which player has triggered the error?

    I see 3 things passed to the trigger: event, api, and the error message

    Tried e.target but that returns an empty div with no children or parents.

    Any help? Thanks!!

Viewing 1 replies (of 1 total)
  • Martin 4 years ago

    Hello miksmusic,

    e.currentTarget should work.

    Alternatively you can use the root variable in the callback, if you can still easily switch to that:

    flowplayer( function(api,root) {
      api.bind('error' function( e, api, error ) {
        console.log( jQuery(root) );
      });
    });

    Thanks,
    Martin

Viewing 1 replies (of 1 total)
Reply To: How to find out which player triggered the error (JS API)



Please Sign in or Register to upload files.

Related Posts

  1. Using FV player javascript API with multiple players on the page

    Using FV player javascript API with multiple players on the page

  2. FV Player 6.0.5.1 generates error message

    FV Player 6.0.5.1 generates error message

  3. FV Player 6.2.6 Video Checker Error

    FV Player 6.2.6 Video Checker Error

Primary Sidebar

How to …

    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‬