Bug 35789

Summary: OSX: Implement 'preload=none'
Product: WebKit Reporter: Eric Carlson <eric.carlson>
Component: MediaAssignee: Eric Carlson <eric.carlson>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
Proposed patch. none

Description Eric Carlson 2010-03-05 07:24:24 PST
https://bugs.webkit.org/show_bug.cgi?id=35385 added support for the 'preload' attribute to the media element. That patch only dealt with parsing the attribute and passing it down to the media engine, actually making it work requires support in the media engine. This bug is for the work in the OSX media engine.
Comment 1 Eric Carlson 2010-03-05 07:26:50 PST
Created attachment 50095 [details]
Proposed patch.
Comment 2 Adele Peterson 2010-03-05 08:52:55 PST
Comment on attachment 50095 [details]
Proposed patch.

> @@ -746,7 +775,7 @@ bool MediaPlayerPrivate::hasAudio() cons
>  bool MediaPlayerPrivate::supportsFullscreen() const
>  {
>  #if !defined(BUILDING_ON_TIGER) && !defined(BUILDING_ON_LEOPARD)
> -    return true;
> +    return metaDataAvailable();
>  #else
>      // See <rdar://problem/7389945>
>      return false;

I don't think this change is covered in the ChangeLog - is this related?
Comment 3 Eric Carlson 2010-03-05 08:55:14 PST
(In reply to comment #2)
> (From update of attachment 50095 [details])
> > @@ -746,7 +775,7 @@ bool MediaPlayerPrivate::hasAudio() cons
> >  bool MediaPlayerPrivate::supportsFullscreen() const
> >  {
> >  #if !defined(BUILDING_ON_TIGER) && !defined(BUILDING_ON_LEOPARD)
> > -    return true;
> > +    return metaDataAvailable();
> >  #else
> >      // See <rdar://problem/7389945>
> >      return false;
> 
> I don't think this change is covered in the ChangeLog - is this related?

Oops, that is for another bug.
Comment 4 Adele Peterson 2010-03-05 09:04:47 PST
Comment on attachment 50095 [details]
Proposed patch.

ok- r=me minus that part of the patch.
Comment 5 Eric Carlson 2010-03-05 09:14:55 PST
http://trac.webkit.org/changeset/55587