# Setup for Developing with the Cast Application Framework (CAF) for Web

[Video](https://www.youtube.com/watch?v=pvyfddIFsVA)

The Web Sender SDK is supported on Cast-supported web browsers on Mac, Windows,
Linux, ChromeOS, and Android devices. For native mobile Cast apps see
[Android Apps](https://developers.google.com/cast/docs/android_sender_setup) and
[iOS Apps](https://developers.google.com/cast/docs/ios_sender_setup).

> [!NOTE]
> **Note:** Casting is not supported on the iOS Chrome browser.

> [!WARNING]
> **Warning:** Web Sender apps need to support HTTPS to maintain Cast compatibility, as browsers have deprecated support for the `Presentation API` on insecure origins.

## Setup

### Add Web Sender API library to your project

To use the Web Sender API, include the following script in your web page:

    <script src="//www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1"></script>

> [!NOTE]
> **Note:** Updates to the Web Sender SDK occur automatically for all users, and provide fixes, user-facing features, and SDK capabilities. Updates are backwards-compatible and should be transparent to your site.

### Registration

Other than registering your Web Receiver app and device, no special setup steps
are required to use the Web Sender SDK.

To register your Web Receiver app and device follow the steps at
[Registration](https://developers.google.com/cast/docs/registration). Once you have your **application ID**,
you're ready to develop your Web Sender app.

## Testing Cast buttons

While your Web Sender app should have its own Cast button, a user can also
invoke the cast feature by choosing **Cast** from the right-click menu, as shown
here:

![The Chrome menu showing the Cast item highlighted](https://developers.google.com/static/cast/images/chrome_menu.png)

Your Web Sender app should handle both cases.

## Chrome beta channel

A public beta channel for Chrome is also available. New versions of Chrome are
pushed to the beta channel prior to a full release; the beta channel is also
updated more often than the stable channel. This gives developers (and
passionate early adopters) advance access to new features, and allows you to
ensure that your site works with upcoming versions of Chrome.

To use the public beta channel:

- [Install the beta version of Chrome](https://www.google.com/chrome/browser/beta.html)
- To report issues, right-click on the Cast toolbar icon and choose "Report an issue". We can't respond individually to most feedback, but we greatly value the input on the beta channel.
- Before pushing updates to your live site, ensure that you test with the current stable version of Chrome. Most visitors to your site will have the stable version of Chrome installed, and if you depend on beta-only features, users with the stable version will be impacted.