Enable Background Audio Bug on IOS devices (the youtube video website suddenly stops in 1 second when i go to homescreen)

I turned on the feature Enable Background Audio on IOS devices (iPad, iPhone) and when i play youtube videos on brave browser and swipe up to homescreen the video suddenly stops playing in one second and starts playing again in backround, I tested this in both iPhone and iPad and both devices have the same issue