How to automatically chrome-cast a website or a tab

11,436

Solution 1

You need another device,

Android Mini PC MK802

Install app "autorun" and put chrome in this.

Solution 2

No, you can't and even if you could, it is strongly recommended not to do that; user has to initiate the process and select a target explicitly. Here is two simple scenarios that can totally go wrong:

  • What if there are multiple devices on the same network? How does it know which one to choose?
  • Imagine your family is in front of the TV in living room, and you are in your bedroom and open that web page, all of sudden it starts casting to your living room.
Share:
11,436
user3320648
Author by

user3320648

Updated on June 11, 2022

Comments

  • user3320648
    user3320648 almost 2 years

    Is there a way to automatically google cast a chrome tab or a specific website everytime I visit the website URL ?

    Any command or function or script or bat file ?

  • user3320648
    user3320648 about 10 years
    Hi, I am using this for a professional project and has nothing to do with kids websites. I would like to call mypage.com/index.html and automatically 1 specific chromecast device will start casting it, or even if there is a command to start up chrome with chromecast running for device1 there should be an autostart option someplace....
  • Ali Naddaf
    Ali Naddaf about 10 years
    Note that if you do that, you will be in violation of Google Cast SDK Terms of Service agreements, item 3.4.8 (developers.google.com/cast/docs/terms) so try to avoid that.
  • Price
    Price almost 9 years
    I think Google should provide a separate business licence that allows the businesses to control their cast screens without manual intervention. There is no user input required in this scenario. Does Google want to restrict the usage of Chromecast to just private living rooms?
  • CommonsWare
    CommonsWare almost 9 years
    @Price: "There is no user input required in this scenario" -- then do not use a device that requires some amount of user input. There are countless devices that can plug into a TV, ranging from TV-dedicated devices (e.g., Fire TV, Fire TV Stick, various HDMI sticks available on eBay, Alibaba, etc.) to ordinary phones/tablets with HDMI/MHL/SlimPort output. Any of those will run an OS (mostly Android), for which you can create full apps that can do lots of things "without manual intervention".
  • Price
    Price almost 9 years
    @CommonsWare, thanks for suggesting these alternatives! Is it possible to automatically start an app on any of these devices and play content from an Android app running on another phone that is on the same WiFi network?
  • Price
    Price almost 9 years
    FYI, this controller Android app is not going to be used by ordinary users, only by admins.
  • CommonsWare
    CommonsWare almost 9 years
    @Price: In general, yes. That being said, your inquiries are getting off-topic for this question and answer. If you have further concerns in this area, I suggest that you ask a separate Stack Overflow question where you explain what your objectives are and ask about how to set up the pair of apps (one on the TV-connected device, one on the phone) to achieve those objectives.
  • Serguzest
    Serguzest about 7 years
    This is actually a really good option. Chromecasts, on the whole, are not meant to be used to automatically open a webpage... (Even though they'd be awesome at it)