[Webkit-unassigned] [Bug 170993] New: m3u8 still download and play when page switch
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Apr 19 07:39:00 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=170993
Bug ID: 170993
Summary: m3u8 still download and play when page switch
Product: WebKit
Version: Safari 10
Hardware: iPhone / iPad
OS: iOS 10
Status: NEW
Severity: Major
Priority: P2
Component: Media Elements
Assignee: webkit-unassigned at lists.webkit.org
Reporter: toxic.johann at qq.com
Created attachment 307479
--> https://bugs.webkit.org/attachment.cgi?id=307479&action=review
you can hear the voice when you switch page
in safari, open a page contain video element which src is m3u8.
Then switch page in the same tab (change url or go ahead/back by history)
the page will be put in the background and the video is still playing.
you can catch the package by fidler or charles.
if we switch to another tab, we can get the visibiltychange events, and pause the video by code
however, if we just switch the page in the same tab, we can do nothing.
Because beforeunload, popstate, pushstate and hashchange events would not be trigger at all.
you can see this on twitter https://twitter.com/lovevfp/status/854671913163005953
--
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/20170419/5bd6e6df/attachment.html>
More information about the webkit-unassigned
mailing list