Player widget on the lock screen

  Lo sentimos, este artículo está disponible en inglés

By default, the player transmits the poster image and title to the device's lock screen via the MediaSession. Control buttons and playlist navigation will also work.

You can pass another image using the lockposter parameter. If you need to pass extended parameters (Artist, Album, etc.), please use the mediasession option.

mediasession:{
   title:"Song",
   artist:"Artist",
   album:"Album",
   artwork:[
      {src:"https://site.com/96x96.png",sizes:"96x96",type:"image/png"},
      {src:"https://site.com/128x128.png",sizes:"128x128",type:"image/png"}
   ]
}

21.0.6
2025 © PlayerJS

Inicio de sesión

Conectarse

Regístrate gratis

Inscríbete
Al registrarte, aceptas Condiciones del servicio
Iniciar sesión si tienes una cuenta.

Restaurar contraseña

Restaurar
¿Ha olvidado su correo electrónico? Contacte con nosotros