castv2-web
Cast sender that sends a url togheter to a refresh rate to be show a web in a cast screen. For now works with the receiver developed by boombatower, that will be chromecast-dashboard.
Sample
var Client = Client;var Web = Web;var mdns = ; var browser = mdns; browser; browserstart; { var client = ; client;}
You can set a refresh rate, so that the receiver will update every X seconds
manager.load(url, 10
);
Limitations
Note that this receiver has a limitation around the frame-ancestors directive and X-Frame-Options header. So the webpages that don't like being embeded in a ifram won't show.
Ubuntu/Debian
Due to incompatibilities of node-mdns with Ubuntu/Debian (issues with Raspberry Pi and Ubuntu 14.04) I recomend using the mdns-js implementation for discovery. The same example it will be:
var Client = Client;var Web = Web;var mdns = ; var browser = mdns; browser; browser; { var client = ; client;}
Installation
npm install castv2-web