Stay organized with collections Save and categorize content based on your preferences.
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 and iOS Apps.
Note: Casting is not supported on the iOS Chrome browser. Warning: Web Sender apps need to support HTTPS to maintain Cast compatibility, as browsers have deprecated support for thePresentation 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: 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. Once you have your application ID, you're ready to develop your Web Sender app.
Testing Cast buttonsWhile 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:
Your Web Sender app should handle both cases.
Chrome beta channelA 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:
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["The Web Sender SDK enables web applications on various platforms, including Mac, Windows, Linux, ChromeOS, and Android, to cast content to Cast-supported devices, excluding iOS Chrome."],["To integrate the Web Sender API, developers need to add a specific script to their web page and register their Web Receiver app and device, obtaining an application ID."],["Web Sender apps should accommodate both user-initiated casting through a dedicated Cast button and the browser's right-click menu, ensuring compatibility and user experience."],["Developers can leverage the Chrome beta channel to access and test upcoming features and ensure compatibility, but should prioritize testing with the stable version for live site updates."],["Web Sender apps must support HTTPS to ensure Cast functionality, as browsers are phasing out support for the Presentation API on insecure origins."]]],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.3