Jase in ATL
Jase in ATL

Reputation: 321

How to load webpage after video completes

I have an image that takes up the window, is the first frame of a video clip and has an "enter" button for the website. When you click "enter" it plays the video and then needs to load the home page.

I have tried HTML5's video tag and the 'onend' method, but no luck. I have tried about 5 different open-source video players-none have scriptable 'onEnd' methods. I have tried setting a "timeout" function equal to the time of the video...no luck.

I normally would do it in Flash, but it has to play on the iPad.

Any help would be greatly appreciated.

Jase

Upvotes: 2

Views: 1553

Answers (1)

John Flatness
John Flatness

Reputation: 33749

I believe the event you're looking for is onended, not onend.

Upvotes: 2

Related Questions