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