This article assumes that you have already installed the Google Cast extension for the Chrome browser. If you haven't installed it yet, read the previous article. This article also assumes that you have setup your Chromecast device and it is live on your network.
You can only initiate the casting process from a laptop or desktop while using the Google Chrome browser. Native control with tablets and smartphones is not directly available at this time.
Not all media sources will play successfully on your device, even if the source is online and working on other devices. This is because Chromecast adheres to CORS.
Cross-Origin Resource Sharing (CORS) is a spec that allows or denies cross-domain communication from the browser. Since channel PEAR doesn't host any of the media you may be trying to cast, you are at the mercy of the third party server's CORS policy. If a source is working on other devices but not on Chromecast, it could be a CORS restriction.
Cast to Chromecast
Your library serves as the starting point for casting to your device. Start by clicking the Chromecast icon on the source you want to cast (as shown below). The icon will only be visible while using Google Chrome from a laptop or desktop.
Note: clicking this icon will add a Chromecast to your list of paired devices whether or not you actually own a Chromecast. You can unpair it at any time by clicking the "device list" button on your library and then clicking the red "x" button under "Actions".
If the Chromecast was successfully added to your device list it will turn blue.
Now click the blue Chromecast icon and the cast extension you installed in previous steps will be initialized.
If there are any Chromecast devices on your network, they will show up on the prompt that appears near the top of your screen. Click on the name of the device you want to cast to.
From this point your Chromecast will take over and attempt to play the source. While in cast mode the Chromecast icon will be filled in all the way. To stop casting you can use your the browser extension or simply click the icon on the media source again.
- You can quickly determine CORS compatibility by attempting to play the media source with the web player (the play button icon). If the player doesn't detect CORS headers it will display a red banner notifying you.
- You can use Chrome's web instpector console tool to see basic debug information about the Chromecast when trying to play sources.
- If a source is failing to play even though it's online and CORS compatible, try removing the Google Cast extension, clearing your browsers cache, and re-adding it back again. You can also try installing the alternate Google Cast beta extension which typically has more recent code updates.