最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Display Static WebPage on ChromeCast - Stack Overflow

programmeradmin1浏览0评论

I've been looking over the ChromeCast SDK, and it all seems pretty manageable.

The only unfortunate thing I've seen is that it seems it's only meant for casting video, audio or images. You can send a URL, but the URL has to be that of one of the aforementioned types.

I've written an HTML5 "dashboard" type of display for my app which updates using AJAX, and I'd love to be able to launch the dashboard via ChromeCast. This would equate to signaling ChromeCast to load an external URL that is available over the internet, and then ChromeCast would load the URL (preferably without any browser chrome).

In a nutshell, I'd like to hit the ChromeCast button, select the ChromeCast device, and then the device would load a url like "" and my TV would just display the google home page.

I'm not worried about scrolling, zooming, or any interactivity... it's literally a bunch of analytics that update as needed.

I've been looking over the ChromeCast SDK, and it all seems pretty manageable.

The only unfortunate thing I've seen is that it seems it's only meant for casting video, audio or images. You can send a URL, but the URL has to be that of one of the aforementioned types.

I've written an HTML5 "dashboard" type of display for my app which updates using AJAX, and I'd love to be able to launch the dashboard via ChromeCast. This would equate to signaling ChromeCast to load an external URL that is available over the internet, and then ChromeCast would load the URL (preferably without any browser chrome).

In a nutshell, I'd like to hit the ChromeCast button, select the ChromeCast device, and then the device would load a url like "http://www.google." and my TV would just display the google home page.

I'm not worried about scrolling, zooming, or any interactivity... it's literally a bunch of analytics that update as needed.

Share Improve this question asked Feb 19, 2014 at 17:27 AlishahNovinAlishahNovin 1,9323 gold badges23 silver badges37 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 7

You want a Custom Receiver. They allow you to just load in a webpage instead of using the default players.

https://developers.google./cast/docs/web_receiver

发布评论

评论列表(0)

  1. 暂无评论