[ionic-v4] MusicControls plugin overriden?


#1

We are using music-controls to show title and a cover for html5 video/audio when the app goes to the background and/or device is locked.

It seems that the html5 video/audio tag controls override the plugin’s behavior. If there is a delay in starting the video (due to network reasons lets say) then the music-controls plugin briefly works and sets the video/audio details but as soon as the video/audio starts playing then the cover and title get reset (cover to the default icon and title to whatever the index.html title or video/audio title property is set to).

Trying to invoke the music-controls plugin while the video/audio is playing has no effect whatsoever.

Is this expected behavior?