Chromecast with Custom Receiver Config




Sample embed receiver config code:
kWidget.embed({
    'targetId': 'kaltura_player',
    'wid': '_243342',
    'uiconf_id' : '21099702',
    'entry_id' : '0_l1v5vzh3',
    'flashvars': {
          'chromecast': {
                'plugin': true,
                'applicationID': 'ED4BE7BD',
                'debugKalturaPlayer': false,
                'receiverConfig': {
                    'spinnerFillColor': string, // Default: '#59BAF3'
                    'progressFillColor': string, // Default: '#F8A61A'
                    'titleFont': string, // Default: "proxima nova"
                    'titleSize': integer, // Default: 52 (Pixels)
                    'subtitleFont': string, // Default: "proxima nova"
                    'subtitleSize': integer, // Default: 32 (Pixels)
                    'switchingAudioTracksMsg': string, // Default: "Please wait..." (The message that displays while switching audio tracks)
                    'switchingAudioTracksMsgColor': string, // Default : '#59BAF3'
                    'fadeOutPauseTime': integer, // Default: 5 (Seconds – The time that takes the media artwork disappear in case of pause media during playback)
                    'launchingTimeout': integer, // Default: 5 (Minutes – The time until the receiver is shutdown when he’s in launching state)
                    'loadingTimeout': integer, // Default: 5 (Minutes – The time until the receiver is shutdown when he’s in loading state)
                    'pausedTimeout': integer, // Default: 20 (Minutes – The time until the receiver is shutdown when he’s in pause state)
                    'idleTimeout': integer // Default: 5 (Minutes – The time until the receiver is shutdown when he’s in idle state)
               }
           }
       },
    });

    Note:
    other supporting parameters that must be passed via the receiver URL are:
    * logoUrl - path to the logo url file
    * backgroundColor - background color of the idle screen
    * debugReceiver - whether to see the receiver application logs
    * debugKalturaPlayer - whether to see the Kaltura player logs

    Example:
    https://path/to/receiver.html?debugReceiver&debugKalturaPlayer&backgroundColor=blue&logoUrl=path/to/logo.png