Skip to content

Instantly share code, notes, and snippets.

@tifroz
Created August 31, 2015 19:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tifroz/bd05ac5ef45210d4cad0 to your computer and use it in GitHub Desktop.
Save tifroz/bd05ac5ef45210d4cad0 to your computer and use it in GitHub Desktop.
Use as a reference when mocking up / creating a LOAD event for the chromecast receiver
{
"type":"message",
"Z":false,
"defaultPrevented":false,
"Yb":true,
"senderId":"14:DC8024DC-1122-4903-8D28-E2BEF7C3BE9B",
"data":{
"currentTime":0,
"requestId":6,
"type":"LOAD",
"autoplay":true,
"media":{
"metadata":{
"castComponentPosterURL":"http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/images_780x1200/grand-780x1200.jpg",
"title":"What care can you get for a grand?",
"subtitle":"Garage419",
"images":[
{
"url":"http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/images_480x270/WhatCarCanYouGetForAGrand.jpg",
"width":200,
"height":100
}
],
"metadataType":0
},
"textTrackStyle":{
"windowRoundedCornerRadius":8,
"windowType":"ROUNDED_CORNERS",
"foregroundColor":"#FFFFFFFF",
"fontFamily":"Helvetica",
"fontGenericFamily":"SANS_SERIF",
"fontStyle":"NORMAL",
"fontScale":1,
"windowColor":"#000000FF",
"backgroundColor":"#000000FF"
},
"contentId":"https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/WhatCarCanYouGetForAGrand.mp4",
"contentType":"video/mp4",
"streamType":"NONE",
"duration":0
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment