Itay k
Itay k

Reputation: 4469

Start playing video from a specific location using html5 video tag

Is it possible to start playing a video from a specific location (for instance the second minute of the video clip) using html5 video tag? If it is how can it be done? Can it be done using JavaScript?

Upvotes: 0

Views: 1169

Answers (1)

Kashif Khan
Kashif Khan

Reputation: 2645

Yes its possible. You can use player.currentTime attribute. see here for an example http://singintime.wordpress.com/2011/04/20/html5-video-seeking-with-javascript/

Upvotes: 2

Related Questions