• Skip to primary navigation
  • Skip to main content

Chrome Story

Chromebook News, Tips, and Tricks

  • Chromebook
  • Chrome
  • Chromecast
  • Assistant
  • Videos
Home / Chromecast / Google tests an API to ‘allow all sites to initiate mirroring’

Google tests an API to ‘allow all sites to initiate mirroring’

August 19, 2020 by Dinsan Francis Updated on: 6:30 pm Leave a Comment

Google is experimenting support for Presentation API which will allow any website to initiate tab mirroring.

Presentation API

The Presentation API allows websites to initiate tab mirroring or casting to a connected device.

According to Mozilla developer documentation:

“The Presentation API lets a user agent (such as a Web browser) effectively display web content through large presentation devices such as projectors and network-connected televisions. Supported types of multimedia devices include both displays which are wired using HDMI, DVI, or the like, or wireless, using DLNA, Chromecast, AirPlay, or Miracast.”

Presentation mode
Presentation mode

If there are no connected devices, the API can present content on a separate window. A W3.org document explains:

“In the spirit of experimentation, the Second Screen Presentation Community Group has been working on a series of proof-of-concept demos for the Presentation API, using custom browser builds and/or existing plug-ins to implement or emulate the Presentation API, when available, or falling back to opening content in a separate browser window otherwise.”

Allow all sites to initiate mirroring

Google Chrome is set to experiment this new API. A new flag that we spotted today brings Presentation API to Chrome:

“Allow all sites to initiate mirroring: When enabled, allows all websites to request to initiate tab mirroring via Presentation API. Requires #cast-media-route-provider to also be enabled”

You can track the progress of this project here. The Chrome Status page has a couple of demos that we can use.

Presentation API demo
Presentation API demo

On the demo page, you can initiate presentation. Chrome will display a list of available cast devices.

Now that we have the experimental flag ready, we will see more developers making use of this feature.

Are you a developer working on a feature using the Presentation API? Share your project in the comments section for us to try.

Related articles

  • Chrome’s New “Media Router & Web Presentation API” – Google Cast and Beyond
  • Mirror your Android Screen to Chromecast, There’s an App for That!
  • How to Mirror Your Desktop to Chromecast
  • Chrome OS Might Soon Support 3+ Displays
  • Here is a Video of Android Mirroring to Chromecast

  • Facebook
  • Reddit
  • Twitter
  • WhatsApp
  • Pocket
  • Telegram

Related

Filed Under: Chromecast

About Dinsan Francis

Content Developer and Digital Minimalist. Loves testing new Chromebook features and writing about them. Favorite Chrome OS Channel is Canary. | Twitter

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

Updates via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 4,036 other subscribers

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

WordPress | Copyright © 2022 Chrome Story | Chrome is a registered trademark of Google Inc.

  • About
  • Privacy
  • YouTube