[Webkit-unassigned] [Bug 184447] mp4 video element broken with service worker

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 2 11:02:50 PDT 2018


--- Comment #5 from youenn fablet <youennf at gmail.com> ---
> This doesn't work with Same-Origin audio/video file.
> PoC
> https://test.shhnjk.com/media_test.html

You might need to activate crossOrigin on the video element, otherwise no-cors will be used and headers expurged no matter whether the URL is cross origin or not.

Second thing is that your service worker should check whether the response is 206, as caching a 206 will be rejected and the fetch event might end up being errored.

Note that fetch event destination should now be working for audio and video loads so that service workers could use that to make sure to not intercept these loads.

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/20180502/07d1198d/attachment.html>

More information about the webkit-unassigned mailing list