Use mp3 metadata or HTML to display artwork and track name on iPhone lock screen

后端 未结 2 1642
Happy的楠姐
Happy的楠姐 2021-01-21 03:24

When you lock an iphone after using safari / chrome etc., when an mp3 file is playing, it displays blank artwork and a hard link to the mp3 file location, which looks quite ugly

2条回答
  •  北荒
    北荒 (楼主)
    2021-01-21 03:34

    You can add a string that will be shown on the iOS lockscreen by setting a title attribute on your element. It's all on the "song" line, so it doesn't look totally native, but it gets your point across.

    I don't, however, know of any way to coax iOS into displaying album art of media coming from a browser.

提交回复
热议问题