Keep playing media when screen is locked?


#1

Hi,

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?

Br,
Xi


#2

Speaking as a user, I would certainly hope not.


#3

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


#4

Are you using the native Media plugin? Link


#5

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


#6