• 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 add cuepoints attribute to shortcode

[Solved]

Foliovision › Forums › FV Player › How to … › How to add cuepoints attribute to shortcode

  • Harold 8 years, 3 months ago

    Hi
    I’m trying to trigger a cuepoint event for the players on my page. All player are created using shortcodes. I read the cuepoints docs: https://flowplayer.com/docs/cuepoints.html and saw this example: http://demos.flowplayer.org/api/cuepoints.html, but I couldn’t add the cuepoints attribute to my player. How can I do this if I create the player with a shortcode?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Martin 8 years ago

    Hello Harold,

    cuepoints are really a programmer-level feature. We use it for transcript and chapters.

    If you want to define your own cuepoints, you can use the data-cuepoints attribute on the FV Player element. To put it there you can use the fv_flowplayer_attributes filter which is described here: https://foliovision.com/player/advanced/api-programming

    Then the player will trigger the events as described in the Flowplayer documentation.

    We could allow our users to specify these cuepoints in the shortcode, but the problem is that from user point of view it does nothing. There needs to be something that gets triggered on these cue points.

    Thanks,
    Martin

    Harold 8 years ago

    Thank you Martin!
    I added a filter like you said and now it triggers my jQuery event.
    You helped me very much, Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
Reply To: How to add cuepoints attribute to shortcode



Please Sign in or Register to upload files.

Related Posts

  1. Using a shortcode in the source attribute of the embed code

    Using a shortcode in the source attribute of the embed code

  2. Shortcode attribute for player type

    Shortcode attribute for player type

  3. Using Soft Hyphens to Disable Embedded Shortcode in WordPress or other CMS Web Tutorials

    Using Soft Hyphens to Disable Embedded Shortcode in WordPress or other CMS Web Tutorials

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‬