[Webkit-unassigned] [Bug 29133] Allow the platform media player to know the <video> poster URL.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 2 09:31:01 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=29133


Andrei Popescu <andreip at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #40527|                            |review?
               Flag|                            |
  Attachment #39421|0                           |1
        is obsolete|                            |




--- Comment #6 from Andrei Popescu <andreip at google.com>  2009-10-02 09:31:01 PDT ---
Created an attachment (id=40527)
 --> (https://bugs.webkit.org/attachment.cgi?id=40527)
Add prepareToPlay(), setPoster() and canLoadPoster() methods to the MediaPlayer
class and MediaPlayerPrivate iface. (take 3)

Hi Eric,

Sorry for the late reply on this, it's only today that I got a chance to upload
a new patch.

As we discussed, I have added a method that is called when the state of
HTMLMediaElement is 'readyToPlay' but the media backend doesn't yet have enough
data. This is the case with our backend that does not prebuffer any content.
This allows the state to be correct from the beginning (NetworkState::Empty and
ReadyState::HaveNothing) and allows the backend to change the network and ready
states just before playback.

I left the setPoster method where it was in the first patch. Before playback,
it's WebCore that draws the poster. After playback, it's the MediaPlayerPrivate
that draws the poster in its paint method.

All the best,
Andrei

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list