Bug 60952 (LoadingVideo)

Summary: REGRESSION: Inconsistent loading of video after source is changed
Product: WebKit Reporter: Ezra Katz <Ezra>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED ---    
Severity: Normal CC: eric.carlson, jer.noble, thomas
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.6   
URL: http://zipinmedia.com/testCase.html
Attachments:
Description Flags
This is a test case for the bug described. none

Description Ezra Katz 2011-05-17 04:44:40 PDT
This example is a simple html 5 video player. When a link is clicked on the side the source elements of the video are changed and the load function of the video is called. This works fine in the latest version of Safari, but shows inconsistent behavior in Chrome and the Webkit Nightly. After a couple switches the video fails to load.

Reproduce the bug by clicking the links and switching the video a few times.
Comment 1 Ezra Katz 2011-05-22 11:00:30 PDT
I investigated further, and the only issue seems to be when there are separate source elements. Changing the <video src> attribute directly results in the expected behavior.
Comment 2 Ezra Katz 2011-05-22 12:04:39 PDT
Created attachment 94352 [details]
This is a test case for the bug described.

I attached a simplified version of the bug. Click through the "Switch by Changing Source" buttons first to reproduce the bug.

A live version is here: http://zipinmedia.com/testCase.html