Bug 28731

Summary: Setting the volume of a media element has no effect if called too early
Product: WebKit Reporter: Eric Carlson <eric.carlson>
Component: WebCore Misc.Assignee: Eric Carlson <eric.carlson>
Status: RESOLVED FIXED    
Severity: Normal CC: simon.fraser
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: All   
Attachments:
Description Flags
proposed patch simon.fraser: review+

Eric Carlson
Reported 2009-08-25 21:34:05 PDT
On OSX, setting the volume of an audio element before it has loaded metadata has no effect because MediaPlayerPrivate::setVolume() bails if metaDataAvailable() is false. This is unnecessary, it is safe to set the movie volume as soon as the movie exists.
Attachments
proposed patch (2.80 KB, patch)
2009-08-25 21:56 PDT, Eric Carlson
simon.fraser: review+
Eric Carlson
Comment 1 2009-08-25 21:34:48 PDT
Eric Carlson
Comment 2 2009-08-25 21:56:33 PDT
Created attachment 38596 [details] proposed patch
Eric Carlson
Comment 3 2009-08-25 22:14:09 PDT
Note You need to log in before you can comment on or make changes to this bug.