What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » JavaScript: FlowPlayer::getTime()

JavaScript: FlowPlayer::getTime()
Author: Message:
Weyzza
Veteran Member
*****

Avatar
SoCal sunset > *

Posts: 1170
Reputation: 29
– / Male / –
Joined: May 2003
O.P. JavaScript: FlowPlayer::getTime()
I have a question related to JavaScript in general.

I see in the tutorial that users can get the playing time of the video that is playing using getTime().

<a href="javascript: getTime()">Get time</a> <input type="text" id="time" />

Basically, it calls the FlowPlayer's getTime() routine everytime a user clicks the link, then output it to the field.
My question is, how to keep executing getTime() while the video is running?

I have tried while(true) getTime();, but it didn't work.

code:
function getTime() {
    var time = flowPlayer1.getTime();
    var timeField = document.getElementById("time");
    timeField.value = time;
}

Thank you.
Registered 7646 days, 12 hours, 59 minutes, 32 seconds ago.
Happy Birthday, WDZ

04-03-2007 08:13 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
JavaScript: FlowPlayer::getTime() - by Weyzza on 04-03-2007 at 08:13 PM
RE: JavaScript: FlowPlayer::getTime() - by hmaster on 04-03-2007 at 08:43 PM
RE: JavaScript: FlowPlayer::getTime() - by Weyzza on 04-03-2007 at 08:45 PM
RE: JavaScript: FlowPlayer::getTime() - by hmaster on 04-03-2007 at 08:49 PM
RE: RE: JavaScript: FlowPlayer::getTime() - by Weyzza on 04-03-2007 at 09:04 PM
RE: JavaScript: FlowPlayer::getTime() - by WDZ on 04-03-2007 at 09:08 PM
RE: JavaScript: FlowPlayer::getTime() - by Weyzza on 04-03-2007 at 09:41 PM
RE: JavaScript: FlowPlayer::getTime() - by ShawnZ on 04-03-2007 at 09:42 PM
RE: JavaScript: FlowPlayer::getTime() - by Weyzza on 04-03-2007 at 09:47 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On