[Webkit-unassigned] [Bug 35374] New: MediaPlayer has no reliable method of accessing it's owning document

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 24 18:13:47 PST 2010


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

           Summary: MediaPlayer has no reliable method of accessing it's
                    owning document
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Media Elements
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: nicholas.young at nokia.com
                CC: eric.carlson at apple.com


It is sometimes desirable for the MediaPlayer to access information about its
owning document.

Currently there is a method MediaPlayer::frameView(), which returns the
FrameView which renders the MediaPlayer.
However, there are some situations where a renderer is not created for a Media
element, and as such there is no way for the MediaPlayer to access its owning
document.

An example of one of these situations can be seen here:
http://people.freedesktop.org/~company/stuff/video-demo.html
(Credit goes to Bug 30679 for this link)

In this demonstration, the video elements are never added to the DOM, so a
renderer is never created.

As discussed in Bug 35328, the proposed solution is to add a
MediaPlayerClient::mediaPlayerOwningDocument().

A patch is coming.

-- 
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