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

Issue 173447: Merge 24251 - Fixes bug where changing the src of an audio/video element woul... (Closed)

Created:
11 years, 4 months ago by laforge
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, fbarchard, Alpha Left Google, kylep, awong, darin (slow to review), scherkus (not reviewing)
Visibility:
Public.

Description

Merge 24251 - Fixes bug where changing the src of an audio/video element would stop firing events. HTMLMediaElement keeps track of network/ready state separately. When reusing 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 Review URL: http://codereview.chromium.org/174385 TBR=scherkus@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=24401

Patch Set 1 #

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

Messages

Total messages: 2 (0 generated)
laforge
11 years, 4 months ago (2009-08-26 01:29:08 UTC) #1
scherkus (not reviewing)
11 years, 4 months ago (2009-08-26 01:39:05 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698