If HTMLMediaElement replaces the MediaPlayer after its display state has been set to "video", the new media engine has no way to know that it is allowed to display video. If the display state is reset whenever MediaPlayer is replaced, the media engine will get the correct state when it is recalculated. <rdar://problem/9281951>
Created attachment 93140 [details] Proposed patch.
Comment on attachment 93140 [details] Proposed patch. View in context: https://bugs.webkit.org/attachment.cgi?id=93140&action=review > Source/WebCore/html/HTMLMediaElement.cpp:713 > + // Reset display mode to force a recalculation of what to show becuase we are resetting the player. This misspells because.
http://trac.webkit.org/changeset/86245
Revision r86245 cherry-picked into qtwebkit-2.2 with commit 3f5fab4 <http://gitorious.org/webkit/qtwebkit/commit/3f5fab4>