Mateusz Kaflowski
Mateusz Kaflowski

Reputation: 2367

Setting loading icon for Chromecast

How to set app logo for loading Chromecast? When I cast some media I see app logo like a splash screen (Youtube for example). I want to set my logo and title for my app but cannot find in docs how to do that.

Upvotes: 2

Views: 517

Answers (1)

Leon Nicholls
Leon Nicholls

Reputation: 4656

If you are using the Default Media Receiver, then you cannot customize that. If you are using the Styled Media Receiver, then you can modify the .splash class in your own CSS.

If you are using a custom CAF receiver, then you can update your CSS to show a splash screen when the receiver is loaded:

  <cast-media-player id="player"></cast-media-player>
  <style>
    #player {
        --theme-hue: 210;
        --splash-image: url("my.png");
    }

Upvotes: 1

Related Questions