Safari hls seeking bug when tab switch always hurts my work

Safari hls seeking bug when tab switch

Explanation

Open 2 tabs and switch both, the playback will seeking forward to unexpected position.

Expected

The playback can keep the original speed or resume from tab visibilitychange

Actual

The playback seeks forward about a few minutes when switch tabs

Environment

Safari iOS, iPadOS

Playground

Your user agent:

Demo