အသံ ထိန်းချုပ်ကိရိယာ ပိုင်ဆိုင်မှု
ဥပမာ
အသံတွင် မီဒီယာထိန်းချုပ်ကိရိယာရှိမရှိ ရှာဖွေပါ-
var x = document.getElementById("myAudio").controller;
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
ထိန်းချုပ်ကိရိယာ ပိုင်ဆိုင်မှုသည် အသံ၏ လက်ရှိမီဒီယာ ထိန်းချုပ်ကိရိယာကို ပြန်ပေးသည်။
ပုံမှန်အားဖြင့် <audio> ဒြပ်စင်တွင် မီဒီယာ ထိန်းချုပ်ကိရိယာ မရှိပါ။ မီဒီယာထိန်းချုပ်ကိရိယာကို သတ်မှတ်ပါက၊ ထိန်းချုပ်သူ၏ပိုင်ဆိုင်မှုသည် ၎င်းကို MediaController အရာဝတ္ထုအဖြစ် ပြန်ပေးလိမ့်မည်။
အကြံပြုချက်- အသံသည် စံဗီဒီယိုထိန်းချုပ်မှုများကို ပြသသင့်သည်ဖြစ်စေ သတ်မှတ်ရန် သို့မဟုတ် ပြန်ရန် ထိန်းချုပ်မှု ပစ္စည်းများကို အသုံးပြုပါ ။
Browser ပံ့ပိုးမှု
Property | |||||
---|---|---|---|---|---|
controller | Not supported | Not supported | Not supported | Not supported | Not supported |
အထားအသို
audioObject.controller
တန်ဖိုးကို ပြန်ပေးသည်။
Type | Description |
---|---|
MediaController Object | Represents the media controller of the audio. MediaController Object properties/methods:
|
❮ အသံအရာဝတ္ထု