• 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

Player div id is random

Foliovision › Forums › FV Player › How to … › Player div id is random

  • EDGAR 6 years, 8 months ago

    Hi,
    I created my fv player with a shorcut, when I embed the shortcut, I check in the browser inspect, that the id, of the player’s div is random, I need it to be static, every time I load the page it changes the id, I need static id.

    Ej :<div id=”wpfp_e8d4276dcc10de1c0d413709ca496de2″ class=”flowplayer …….
    <div id=”wpfp_c4cd23cdd3c4f7cd016556b3e74a5cdc” class=”flowplayer …

    Thankyou

Viewing 2 replies - 1 through 2 (of 2 total)
  • EDGAR 7 years ago

    hi,

    If i can not change the id to static, i could then perform the unload by the data-flowplayer-instance-id, how do I do this , I wish to unload for any video by the id or data-flowplayer-instance-id, how do i do to use function flowplayer like flowplayer(‘#your-element’).unload(); if i use parameter #your-element this id is random. now the parameter data data-flowplayer-instance-id is static, i ca use this, how to use ths parameter in function flowplayer(‘#your-element’).unload();

    Thank you

    Martin 7 years ago

    Hello Edgar,

    are you using the FV Player database? https://foliovision.com/player/advanced/player-database If so, then we could improve the plugin to use the player database ID as the element ID.

    In the other case, you should be able to use:

    flowplayer('[data-flowplayer-instance-id=0]').unload(); 
    

    But to just unload the first player on the page you can also use a lot simpler call:

    flowplayer(0).unload(); 
    

    Thanks,
    Martin

Viewing 2 replies - 1 through 2 (of 2 total)
Reply To: Player div id is random



Please Sign in or Register to upload files.

Related Posts

  1. Random auto-play for Vimeo Channel

    Random auto-play for Vimeo Channel

  2. Vimeo Player with Channel Support

  3. YouTube Playlist Embedding

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‬