DescriptionFixes 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 #
Messages
Total messages: 2 (0 generated)
|