Keep Media Playing When iPhone is Locked in PWA

In my ionic angular-based PWA, is it possible to have video continue playing on an iphone after the iphone is locked?

By default, iOS seems to continue to play audio files in the background when an iphone is locked. That way, if you are listening to an audio stream–such as a podcast or music player–you can lock your phone and continue listening.

But, it seems like the default is that iOS stops a video from playing when the phone is locked.

In my case, I am trying to find a way for the user to still be able to hear the video while the phone is locked.

How can I do it?

Bump. Any ideas? I want a video to keep playing on an iPhone while the phone is locked.