HTML အကိုးအကား

အက္ခရာဖြင့် HTML HTML အမျိုးအစားအလိုက် HTML Browser ပံ့ပိုးမှု HTML အရည်အချင်းများ HTML ကမ္ဘာလုံးဆိုင်ရာ အရည်အချင်းများ HTML ပွဲများ HTML အရောင်များ HTML Canvas HTML အသံ/ဗီဒီယို HTML အက္ခရာအစုံများ HTML Doctypes HTML URL ကုဒ် HTML ဘာသာစကားကုဒ်များ HTML နိုင်ငံကုဒ်များ HTTP မက်ဆေ့ခ်ျများ HTTP နည်းလမ်းများ PX မှ EM Converter ကီးဘုတ်ဖြတ်လမ်းများ


HTML <audio> preload Attribute

❮ HTML <audio> တဂ်

ဥပမာ

စာမျက်နှာဖွင့်သည့်အခါ အသံကို မတင်သင့်ဟု စာရေးသူထင်သည်-

<audio controls preload="none">
  <source src="horse.ogg" type="audio/ogg">
  <source src="horse.mp3" type="audio/mpeg">
  Your browser does not support the audio element.
</audio>

အဓိပ္ပါယ်နှင့် အသုံးပြုမှု

preloadရည်ညွှန်းချက်သည် စာမျက်နှာကိုဖွင့်သည့်အခါ အသံဖိုင်ကို ဒေါင်းလုဒ်လုပ်သင့်သည်ဟု စာရေးသူက မည်သို့ယူဆကြောင်းနှင့် ရည်ညွှန်းချက်က သတ်မှတ်ပေးသည်

ရည်ညွှန်းချက် သည် preloadစာရေးသူအား အကောင်းဆုံးအသုံးပြုသူအတွေ့အကြုံကို ဖြစ်ပေါ်စေမည်ဟု သူထင်သည်နှင့် ပတ်သက်၍ ဘရောက်ဆာအား အရိပ်အမြွက်ပေးနိုင်သည်။ ဤအရည်အချင်းကို အချို့သောအခြေအနေများတွင် လျစ်လျူရှုထားနိုင်သည်။

မှတ်ချက်- ရှိနေပါက ကြိုတင်ထည့်သွင်းခြင်း ရည်ညွှန်းချက်ကို လျစ်လျူရှုထားသည် autoplay


Browser ပံ့ပိုးမှု

ဇယားရှိ နံပါတ်များသည် attribute ကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးပါသည်။

Attribute
preload 4.0 9.0 4.0 4.0 11.5

အထားအသို

<audio preload="auto|metadata|none">

ရည်ညွှန်းတန်ဖိုးများ

Value Description
auto The author thinks that the browser should load the entire audio file when the page loads
metadata The author thinks that the browser should load only metadata when the page loads
none The author thinks that the browser should NOT load the audio file when the page loads

❮ HTML <audio> တဂ်