Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8980363
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T20:04:15+00:00 2026-06-15T20:04:15+00:00

I am using jQuery to bind event listeners to Flowplayer 5.2 videos, as follows:

  • 0

I am using jQuery to bind event listeners to Flowplayer 5.2 videos, as follows:

$(document).ready(function() {

    $(".flowplayer").each (function() {
        console.log("Got a flowplayer: " + $(this));
        $(this).bind("ready", function(event, api) {
            console.log("Flowplayer ready");
        }).bind("pause", function(event, api) {
            console.log("Flowplayer pause");
            var time = {?}.getTime();
            console.log("Time: " + time);
        });
     });
});

I’d like to get the current time/duration of the video when events such as pause occur. What should the ${?} in the code above be replaced with?

I’ve tried replacing the {$} in the code above with $(this), $(this).getClip(), $f(0), and $f() and none of those worked. I’m wondering if I can get it off of the event or api parameters in the callback function, but I figured I’d ask instead of randomly trying to access parameters that don’t exist.

I’ve been digging through all of the Flowplayer documentation I can find, but I haven’t seen how to do this from a bound event handler (unless you’re using a custom configuration and binding the events at config time as shown here).

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T20:04:17+00:00Added an answer on June 15, 2026 at 8:04 pm

    var time = api.video.time

    http://flowplayer.org/docs/api.html#video-object

    console.debug(api.video) helped me find it …

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using this code: $('.ui-accordion').bind('accordionchange', function(event, ui) { $(this).next().next().css({'background-image':'images/green-bg.jpg'}); //ui.newHeader // jQuery object,
Using jQuery on() version 1.7. I bind my events usually like this: $(.foo).on(click, function()
I'm having a bit of a difficulty using jQuery to bind a function to
Using jQuery I want to bind an existing function to a button. I've been
Im using JQuery UI Selectmenu widget - http://wiki.jqueryui.com/w/page/12138056/Selectmenu Im trying to bind change event.
Please what is the difference between using jquery .bind() to attach an event to
I am using jquery mobile alpha 4. I simply bind a click event on
I think this should be simple. Say I've got the following jQuery: $someForm.live('submit', function(event)
I'm using jQuery 1.8.0 to bind an onchange event to an <input type=file> element.
I am using jQuery to bind event handlers to elements, but maybe there is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.