[Pro] Stop/Pause/Mute QuickTime Movie when Text Link to New Window activated

I am trying to design my site pages so that a page will have a 480x270 QuickTime movie playing with a Text Link to New Window link that will allow a new window with a 640x360 QuickTime to open up. I would also like the new window to be very minimal in size compared to the regular page, much like a Lightbox window that would open up but with a little bit more information than Lightbox would allow. This I can do with no problem.

The problem that I am having is that when the new window opens up and begins to play the larger QT, the original page is still playing the smaller QT and the audio is now audible from both QT’s at the same time. Is there any way that I can get the smaller QT to either stop, pause or even mute when the new window opens to prevent this.

I hope I have made it clear. The page is not currently online, but I could certainly make it available to you if that will help.

Thanks.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

On Apr 18, 2012, at 10:35 PM, k. dixon wrote:

I am trying to design my site pages so that a page will have a 480x270 QuickTime movie playing with a Text Link to New Window link that will allow a new window with a 640x360 QuickTime to open up. I would also like the new window to be very minimal in size compared to the regular page, much like a Lightbox window that would open up but with a little bit more information than Lightbox would allow. This I can do with no problem.

The problem that I am having is that when the new window opens up and begins to play the larger QT, the original page is still playing the smaller QT and the audio is now audible from both QT’s at the same time. Is there any way that I can get the smaller QT to either stop, pause or even mute when the new window opens to prevent this.

Yes it’s possible, but it’s going to be extraordinarily complicated. You need to issue a stop command to the currently playing movie, which means that you have to extend the movie to accept JavaScript commands and you also have to hijack the spawn new window code to send that command before opening the new window.

The first is pretty simple (I don’t have the code in front of me, but you would just highlight the movie and open the Item / Extended dialog and add the key/value pair there. But the latter sounds like something you would need to do by hacking on the Action. Not sure how to get any sort of code on the lines of document.getElementById('yourMovieID').Stop(); into the onclick handler.

Walter

I hope I have made it clear. The page is not currently online, but I could certainly make it available to you if that will help.

Thanks.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options