0

I have an app which includes a webview (loading content served by a local HTTP server) that has an mp4 video embedded, and if I lock the screen while playing the video it will show the URL on the lock screen as seen in the attached screenshot.

Is it possible to replace the URL that is displayed with a custom string / video title?

Perhaps a custom header in the request's response or something similar?

lock screen with video URL

André Morujão
  • 6,963
  • 6
  • 31
  • 41
  • I don't know, but since you didn't mentioned it for your researches, you may want to look for `MPNow​Playing​Info​Center`. – Larme Mar 20 '17 at 15:54
  • Thanks, but I ended up finding a solution which only requires adding an attribute to the video tag. – André Morujão Mar 20 '17 at 15:56

1 Answers1

1

Found the answer here: Is it possible to change the iOS 8 lock screen audio label when playing from web?

Just use the title attribute in the <video> tag.

Community
  • 1
  • 1
André Morujão
  • 6,963
  • 6
  • 31
  • 41