I want to implement functionality to play video from some time. Sometimes it's working, sometimes not. Browser: Safari 12.1.2 (14607.3.9) OS: macOS Mojave 10.14.6 (18G95) Video stream protocol: HLS Web player: Safari native player I implement that in a way that set HTMLMediaElement.currentTime when loadedmetadata event is triggered. Expected: Play video from setted currentTime. Actual: Sometimes video plays from beginning, sometimes video plays from setted time. Example could be found on link: https://codepen.io/index23-the-decoder/pen/ExYmGyd This example always works fine on other web players like video.js.
<rdar://problem/54884831>
At the point where loadedmetadata is fired, we have an AVAsset but no AVPlayer or AVPlayerItem yet. I wonder if we're not correctly saving off the seek in order to apply it to the AVPlayerItem once it's created.
(In reply to Jer Noble from comment #2) > At the point where loadedmetadata is fired, we have an AVAsset but no > AVPlayer or AVPlayerItem yet. I wonder if we're not correctly saving off the > seek in order to apply it to the AVPlayerItem once it's created. Are there any new information about this issue?