Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Issue 174385: Fixes bug where changing the src of an audio/video element would stop firing events. (Closed)

Created:
11 years, 4 months ago by scherkus (not reviewing)
Modified:
9 years, 7 months ago
Reviewers:
Alpha Left Google
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Fixes bug where changing the src of an audio/video element would stop firing events. HTMLMediaElement keeps track of network/ready state separately. When re-using an element by setting the src and calling load(), HTMLMediaElement's network/ready states became out of sync with the actual values inside WebMediaPlayerImpl. This led to the second media never firing 'loadedmetadata' and other events. BUG=16768, 20152 TEST=change src of an audio/video, call load(), should see durationchange and loadedmetadata events

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -8 lines) Patch
M webkit/glue/webmediaplayer_impl.cc View 1 chunk +6 lines, -8 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
scherkus (not reviewing)
still testing, first results look good
11 years, 4 months ago (2009-08-25 02:27:51 UTC) #1
Alpha Left Google
11 years, 4 months ago (2009-08-25 02:57:47 UTC) #2
LGTM!

Powered by Google App Engine
This is Rietveld 408576698