javascript - Help with creating a redirect-like or replacement command -


here's looking do:

  1. a person goes site , quicktime movie plays.

  2. at end of movie, new image appears (ideally fades in).

i guess there 3 ways can happen:

a. quicktime image window replaced image. b. quicktime image window moves background/behind existing image on page (or background image comes forward on top of quicktime image window). c. after completion of quicktime movie, site automatically redirects new page.

i have components page, have not been able locate code out there can make happen.

thanks in advance :)

you don't have access plugin that's playing mov. you'd have use native html 5 video.

in case: if it's same video - , same length - try running javascript timer in background. when time's up, 1 of things mentioned.

html 5 video brings along new media events can use. in case ended event seems appropriate. you'd bind video element other event. on it's simple dom scripting, like:

function myhandler(e) {     if(!e) { e = window.event; }     top.location.href = "http://brigadapictures.com"; } document.getelementbyid('video').addeventlistener('ended',myhandler,false); 

Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -