[Webkit-unassigned] [Bug 210058] New: [Safari]When video is hidden, after entering and exiting fullscreen at the end of the playback the video doesn't replay to start
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Apr 6 11:00:11 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=210058
Bug ID: 210058
Summary: [Safari]When video is hidden, after entering and
exiting fullscreen at the end of the playback the
video doesn't replay to start
Product: WebKit
Version: Safari 13
Hardware: Unspecified
OS: macOS 10.15
Status: NEW
Severity: Normal
Priority: P2
Component: Media
Assignee: webkit-unassigned at lists.webkit.org
Reporter: roy.bregman at kaltura.com
I attached an example to reproduce.
This bug happens in Safari (tested in MAC)
* Video should be hidden (display: none)
* Play the video (HLS)
* Enter full screen
* Exit full screen
* Seek to end of playback
* When playing the video the video is expected to start over from currentTime 0. Instead the playback plays the last second of the playback.
This is the example (Try few times as this doesn't reproduce 100% of the attempts):
<!DOCTYPE html>
<html lang="en">
<head>
<script>
setInterval(()=>{document.getElementById("currTime").innerHTML = document.getElementById('vid').currentTime}, 500)
</script>
</head>
<body>
<div id="videoContainer" style="width: 640px; height: 480px">
<div>
<video id="vid" src='http://qa-apache-php7.dev.kaltura.com/p/1091/sp/109100/playManifest/entryId/0_xjjki1id/protocol/http/format/applehttp/flavorIds/0_jpggin3q,0_8e75zdb1,0_8bdtuqj2,0_v3u9vh5n/a.m3u8?playSessionId=bf508128-58ae-9cc1-2c88-93751b645189:1a994be0-18d0-6afe-aabe-d42507e84500&referrer=aHR0cDovL2xvY2FsaG9zdDo4MDgwLw==&clientTag=html5:v0.53.0' playsinline controls style="display: none;"/>
</div>
<span id="currTime"></span>
<button onclick="document.getElementById('vid').play()">play</button>
<button onclick="document.getElementById('vid').currentTime = document.getElementById('vid').duration">seek to end</button>
<button onclick="document.getElementById('videoContainer').webkitRequestFullScreen();">fullscreen</button>
<button onclick="document.webkitExitFullscreen();">Exit fullscreen</button>
</div>
</body>
--
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/20200406/576319b0/attachment.htm>
More information about the webkit-unassigned
mailing list