The most flexible player that does this is Flowplayer. It's about $100. Their site is flowplayer.org.
The JavaScript you want is the onFinish event. When the movie finishes, you can do most anything you want that JavaScript can do.
That said, when a video player takes me to some other site/page I IMMEDIATELY close the tab or window. I don't stand for that crap, and I can't imagine many surfers these days who do. It's a tired old technique. INVITE them to click to continue.
|