A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://developer.mozilla.org/en-US/docs/Web/API/RemotePlayback/connecting_event below:

RemotePlayback: connecting event - Web APIs

RemotePlayback: connecting event

Limited availability

The connecting event of the RemotePlayback interface fires when the user agent initiates remote playback.

Syntax

Use the event name in methods like addEventListener(), or set an event handler property.

addEventListener("connecting", (event) => { })

onconnecting = (event) => { }
Event type

A generic Event.

Example

In the following example the value of RemotePlayback.state is printed to the console when the user agent initiates a connection.

RemotePlayback.onconnecting = () => {
  console.log(RemotePlayback.state);
};
Specifications Browser compatibility

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.4