Link to home
Start Free TrialLog in
Avatar of JPClaude
JPClaudeFlag for United States of America

asked on

How to jump to a video time using javascript

I'm playing a video on a webpage and I'd like to be able to click on a link/button that will jump the video to that time.

ie: I click on a link that references something 2min into the video, I'd like the video to jump to the 2min mark.

I've seen things for html 5 but I can't seem to get them working.

I've tried using the <embed> and <objects> tags as well as <video>.
ASKER CERTIFIED SOLUTION
Avatar of Michel Plungjan
Michel Plungjan
Flag of Denmark image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of JPClaude

ASKER

Exactly. My boss wants to do something like that for a project and until HTML 5 comes out, I'm not sure how to proceed.
I just showed you
Add the embed with an ID of video