<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - When I check document.webkitFullscreenElement it always returns undefined if I have a video object in fullscreen. It should return the video element."
href="https://bugs.webkit.org/show_bug.cgi?id=149386#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - When I check document.webkitFullscreenElement it always returns undefined if I have a video object in fullscreen. It should return the video element."
href="https://bugs.webkit.org/show_bug.cgi?id=149386">bug 149386</a>
from <span class="vcard"><a class="email" href="mailto:elecash@gmail.com" title="Raul Jimenez <elecash@gmail.com>"> <span class="fn">Raul Jimenez</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=149386#c2">comment #2</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=149386#c1">comment #1</a>)
> > 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."
>
> <a href="https://developer.apple.com/library/safari/documentation/AudioVideo/">https://developer.apple.com/library/safari/documentation/AudioVideo/</a>
> Conceptual/Using_HTML5_Audio_Video/ControllingMediaWithJavaScript/
> ControllingMediaWithJavaScript.html</span >
Ok, that seems the Safari Desktop reference, not Safari iOS reference.
Then, it's not possible to detect if a video element is in fullscreen mode with JavaScript?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>