Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web/API/HTMLMediaElement/remote を新規翻訳 #22728

Merged
merged 1 commit into from
Jul 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions files/ja/web/api/htmlmediaelement/remote/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
title: "HTMLMediaElement: remote プロパティ"
short-title: remote
slug: Web/API/HTMLMediaElement/remote
l10n:
sourceCommit: 0b6bfb8a3a03de5956dd1cec4b47e5e37078149d
---

{{APIRef("Remote Playback API")}}

**`remote`** は {{domxref("HTMLMediaElement")}} インターフェイスの読み取り専用プロパティで、このメディア要素に関連付けられた {{domxref("RemotePlayback")}} オブジェクトを返します。`RemotePlayback` オブジェクトは、メディアを再生するリモート端末を制御することができます。

## 値

このメディア要素に関連付けられた {{domxref("RemotePlayback")}} オブジェクトです。

## 例

```js
const el = document.createElement("audio");
const remotePlayback = el.remote;

remotePlayback.watchAvailability((availability) => {
// 利用できる状況が変わったら何かを行う
});
```

## 仕様書

{{Specifications}}

## ブラウザーの互換性

{{Compat}}