Background video restarts from beginning after screen turned back on

While using background video playback, listening to YouTube it works fine but when I turn the screen back on, the video will restart and I’ll need to shuffle forwards to find my place again…

Using Oppo find x5 pro on android 12