mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Switched media controls to follow other players style
This commit is contained in:
parent
1458697bb2
commit
8f8ebc485d
1 changed files with 4 additions and 4 deletions
|
@ -160,8 +160,8 @@ define(['playbackManager', 'nowPlayingHelper', 'events', 'connectionManager'], f
|
||||||
|
|
||||||
if (navigator.mediaSession) {
|
if (navigator.mediaSession) {
|
||||||
navigator.mediaSession.metadata = new MediaMetadata({
|
navigator.mediaSession.metadata = new MediaMetadata({
|
||||||
title: title,
|
title: artist,
|
||||||
artist: artist,
|
artist: title,
|
||||||
album: album,
|
album: album,
|
||||||
artwork: getImageUrls(item),
|
artwork: getImageUrls(item),
|
||||||
albumArtist: albumArtist,
|
albumArtist: albumArtist,
|
||||||
|
@ -185,8 +185,8 @@ define(['playbackManager', 'nowPlayingHelper', 'events', 'connectionManager'], f
|
||||||
action: eventName,
|
action: eventName,
|
||||||
isLocalPlayer: isLocalPlayer,
|
isLocalPlayer: isLocalPlayer,
|
||||||
itemId: itemId,
|
itemId: itemId,
|
||||||
title: title,
|
title: artist,
|
||||||
artist: artist,
|
artist: title,
|
||||||
album: album,
|
album: album,
|
||||||
duration: duration,
|
duration: duration,
|
||||||
position: currentTime,
|
position: currentTime,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue