[Webkit-unassigned] [Bug 198658] New: AirPlay fails when playing a base64 video
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jun 7 05:49:40 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=198658
Bug ID: 198658
Summary: AirPlay fails when playing a base64 video
Product: WebKit
Version: Safari 12
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Media
Assignee: webkit-unassigned at lists.webkit.org
Reporter: johan.satge at dailymotion.com
Environment: Safari Mobile 12.1 (iOS 12.2), Apple TV A1625 tvOS 12.3
In our product, we are implementing the scenario below to detect if video playback is allowed (in autoplay, or after a user interaction)
(We need to know if the video can be played to do a list of operations as fetching advertising information, before playing the actual video)
1. load an inlined, short base64 video with sound in the <video> tag
2. trigger a play() instruction on the <video> tag
3a. if the play() Promise is resolved, load and play the actual video
3b. if the play() Promise is rejected, show a default UI and wait for a user interaction
This scenario does not seem to work properly in Safari Mobile when the video tag has been attached to AirPlay.
In that case, the play() Promise that is returned when playing the base64 video never resolves or rejects, leaving both Safari Mobile and the AppleTV in a broken state.
Note: the issue can't be reproduced if the video tag has been muted first.
The issue can be reproduced here: https://jsfiddle.net/g5e1jqfv/ (explanation about the test scenario is included in the page)
--
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/20190607/6fddb8c6/attachment-0001.html>
More information about the webkit-unassigned
mailing list