[Webkit-unassigned] [Bug 149386] When I check document.webkitFullscreenElement it always returns undefined if I have a video object in fullscreen. It should return the video element.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 22 06:15:43 PDT 2015


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

--- Comment #2 from Raul Jimenez <elecash at gmail.com> ---
(In reply to comment #1)
> The Fullscreen API (and thus document.webkitFullscreenElement) is not
> supported on iOS.

Extracted from Apple documentation:

"The document.webkitFullscreenElement property contains the element that is in full-screen mode. Check if this property is defined to determine if the user is currently in full-screen mode. The document.fullscreenEnabled property detects whether the browser supports the full-screen API, not whether an element is currently full-screen."

https://developer.apple.com/library/safari/documentation/AudioVideo/Conceptual/Using_HTML5_Audio_Video/ControllingMediaWithJavaScript/ControllingMediaWithJavaScript.html

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150922/1bf9d9b9/attachment.html>


More information about the webkit-unassigned mailing list