From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/ja/web/api/htmlmediaelement/muted/index.html | 65 ++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 files/ja/web/api/htmlmediaelement/muted/index.html (limited to 'files/ja/web/api/htmlmediaelement/muted/index.html') diff --git a/files/ja/web/api/htmlmediaelement/muted/index.html b/files/ja/web/api/htmlmediaelement/muted/index.html new file mode 100644 index 0000000000..9a55a4fb8f --- /dev/null +++ b/files/ja/web/api/htmlmediaelement/muted/index.html @@ -0,0 +1,65 @@ +--- +title: HTMLMediaElement.muted +slug: Web/API/HTMLMediaElement/muted +tags: + - API + - HTML DOM + - HTMLMediaElement + - Property + - Web +translation_of: Web/API/HTMLMediaElement/muted +--- +
{{APIRef("HTML DOM")}}
+ +

HTMLMediaElement.muted は、メディア要素がミュートしているかどうかを示します。

+ +

構文

+ +
var isMuted = audioOrVideo.muted
+audio.muted = true;
+ +

+ +

{{jsxref("Boolean")}}。 true はミュートしていることを意味し、false はミュートしていないことを意味します。

+ +

+ +
var obj = document.createElement('video');
+console.log(obj.muted); // false
+
+ +

仕様

+ + + + + + + + + + + + + + + + + + + +
仕様状態コメント
{{SpecName('HTML WHATWG', "#dom-media-muted", "HTMLMediaElement.muted")}}{{Spec2('HTML WHATWG')}} 
{{SpecName('HTML5 W3C', "embedded-content-0.html#htmlmediaelement", "HTMLMediaElement.muted")}}{{Spec2('HTML5 W3C')}} 
+ +

ブラウザーの互換性

+ + + +

{{Compat("api.HTMLMediaElement.muted")}}

+ +

関連情報

+ + -- cgit v1.2.3-54-g00ecf