[Webkit-unassigned] [Bug 172675] New: Setting 'Video Needs User Action' still applies after user media access has been granted
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri May 26 18:00:19 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=172675
Bug ID: 172675
Summary: Setting 'Video Needs User Action' still applies after
user media access has been granted
Product: WebKit
Version: WebKit Local Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Media Elements
Assignee: webkit-unassigned at lists.webkit.org
Reporter: andrew at tokbox.com
My understanding is that 'Video Needs User Action' should not apply when user media access has been granted, but it does. I get a NotAllowedError. Interestingly though, after delay(0).then(play) (based on setTimeout), it works. Perhaps user media access is indeed unblocking it but the promise is fulfilled with the stream before the unblock occurs.
https://output.jsbin.com/teyaye
This jsbin takes the following queryString parameters:
userAction - Play video on user action (uses click event by default)
videoFromFile - Play an mp4 file in the video element instead of a user media stream
delay - Play video after specified milliseconds (0 by default)
Examples:
? - Play user media without delay
?delay - Play user media with 0ms delay
?videoFromFile&delay - Play a file after 0ms delay
?userAction=click&videoFromFile - Play a file on click event
?userAction=touchstart&videoFromFile - Play a file on touchstart event
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170527/32765a89/attachment.html>
More information about the webkit-unassigned
mailing list