2009-04-13 Eric Carlson <eric.carlson@apple.com>
authoreric.carlson@apple.com <eric.carlson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Apr 2009 04:13:58 +0000 (04:13 +0000)
committereric.carlson@apple.com <eric.carlson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Apr 2009 04:13:58 +0000 (04:13 +0000)
commit1cd11e08bcbf7f22799bea68943cb309ef6e3e88
treee9308223939725b140fc081829948fd524fab95d
parent5ca84e210dd562cf655c3b7d7dac21c9acfd23cc
2009-04-13  Eric Carlson  <eric.carlson@apple.com>

        Reviewed by Mark Rowe.

        OS X standalone media documents should not switch from <video> to <embed> when
        QTKit load state is QTMovieLoadStateLoading as that happens frequently when a loading
        with a slow network connection or when a movie is not saved fast-start.

        * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
        (WebCore::MediaPlayerPrivate::updateStates): Don't open movie with plug-in when QTKit's
        loadstate is QTMovieLoadStateLoading, wait until it drops below QTMovieLoadStateError.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@42475 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm