Load Visualforce Pages on Google Chromecast
Try it out!
Go to https://vf-chromecast.herokuapp.com/ and follow the instructions to cast a Visualforce Page to Google Chromecast!
src/pages) are simply the https://github.com/googlecast CastHelloText-chrome pages ported to Visualforce. They need to be exposed via a Force.com Site. You should register a new app in the Google Cast SDK Developer Console with the appropriate Site URL for
receiver.page, and paste the application ID into
vf-chromecast comprise a more elaborate demo.
vf-chromecast allows you to login and select a Visualforce page to cast to the device.
castdemoreceiver.page loads the Visualforce page into an iframe, and remains active, waiting for further commands and periodically refreshing the page.
A series of three blog posts I wrote on this project: