Help - Search - Members - Calendar
Full Version: White background flash as quicktime movie loads
HTMLHelp Forums > Web Authoring > Graphics, Flash and Multimedia
Mr Zippy
I hope someone can help, I am pulling my hair out over this one...

I am trying to set up a video demo of a media center, therefore there are several movies (music, movies, photos etc.) that when clicked all play in the same pane on the screen. I am using QuickTime movies and swapping using the javascript setURL function, code excepts below:

(Note: QT_WriteOBJECT_XHTML is a free script from Apple that inserts cross browser embedded quicktime movies)

CODE

** html **
<div id="placeholder">
    <script language="JavaScript" type="text/javascript">
        QT_WriteOBJECT_XHTML('start.mov', '405', '240', '',
        'autoplay', 'true',
        'controller', 'false',
        'name', 'movie',
        'bgcolor', '#000000',
        'showlogo', 'false');
    </script>
</div>

    <span onclick="java script:swapMovie('music')">Music</span> |
    <span onclick="java script:swapMovie('movies')">Movies</span> |
    <span onclick="java script:swapMovie('tv')">Television</span> |
    <span onclick="java script:swapMovie('photos')">Photos</span>

** Javascript **
document.movie.SetResetPropertiesOnReload(false);
document.movie.SetURL(movieName+'.mov');


Actual test URL: http://centerstageproject.com/streaming/v2/

Now click to swap the movies and on Internet Explorer 6 and Firefox (PC) you normally get a white flash in the movie pane before the next movie plays, now this doesn't happen ever on Safari (Mac) but does sometimes on Firefox (Mac).

I know this can be done as Apple does something similar on this page, and it does not have the white flash before the movie.
http://www.apple.com/appletv/tour.html

Can anyone help?

Thanks...
jimlongo
I'd try asking at QuickTime-Users@lists.apple.com

You might also investigate Objecty http://wiltgen.net/objecty/ in place of the QT_Write_ code
Mr Zippy
Thanks for the suggestions.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.