Keep playing media when screen is locked?


My ionic app has media playing in html5 video/audio player. But when phone screen is locked, the media is stopped instantly.
Is it possible to keep the media running?


Speaking as a user, I would certainly hope not.

say, the audio is a podcast stream, as a user, I definitely dont wanna it stop when screen is locked, do I?

Are you using the native Media plugin? Link

native media is only used for microphone recording. Media playing is from html5 player, so no.