![](../icon/headdata.png)
¡ÒÃãªé§Ò¹ Preload
Preload à»ç¹¡ÒÃÊÑè§ãËéâËÅ´ÇÕ´ÕâÍ仾ÃéÍÁ æ ¡ÅѺâËÅ´àÇçºà¾¨ «Öè§à»ç¹ÇÔ¸ÕªèÇÂãËé¼ÙéãªéÊÒÁÒöà»Ô´ÇÕ´ÕâÍä´éÃÇ´àÃçÇÂÔ觢Öé¹ à¹×èͧ¨Ò¡äÁèµéͧÃÍãËéâËÅ´àÇçºà¾¨àÊÃç¨ áÅеéͧÃÍâËÅ´ÇÕ´ÕâÍÍÕ¡¤ÃÑ觹Ñè¹àͧ
Attribute
áÍ··ÃÔºÔǵì | preload |
µÓá˹è§á·ç¡ | ÍÂÙèÀÒÂã¹á·ç¡à»Ô´ <video>...</video> |
ÃٻẺ¡ÒÃãªéá·ç¡ | <video controls preload="value"> <source src="url" type="video/mp4"> </video> |
value | ¤èÒ·Õè¡Ó˹´Áմѧ¹Õé none ËÁÒ¶֧ äÁèµéͧ¡ÒÃãËéâËÅ´Íѵâ¹ÁѵÔàÇÅÒâËÅ´àÇçºà¾¨ auto ËÁÒ¶֧ µÃǨÊͺÍØ»¡Ã³ìáÅФÇÒÁàÃçÇÍÔ¹àµÍÃìà¹çµ ¶éÒÁÕ¤ÇÒÁàÃçÇÊÙ§¡çãËé âËÅ´Íѵâ¹ÁÑµÔ metadata ËÁÒ¶֧ ¡ÒÃâËŴ੾ÒФسÊÁºÑµÔ¢Í§ÇÕ´ÕâÍ àªè¹ âËÅ´à¿ÃÁáá âËÅ´¨Ó¹Ç¹à¿ÃÁ·Ñé§ËÁ´ ¤ÇÒÁÂÒÇÇÕ´ÕâÍÏ à¾×èÍãËéàºÃÒÇìà«ÍÃì ÇèÒ¤ÇÃàµÃÕÂÁ¾×é¹·ÕèÁÒ¡¹éÍÂà¾Õ§㴠|
µÑÇÍÂèÒ§¡ÒÃãªé§Ò¹
<body>
<video controls preload="auto">
<source src="video.mp4" type="video/mp4">
<source src="video.webm" type="video/webm">
<source src="video.ogv" type="video/ogg">
</video>
</body> <source src="video.mp4" type="video/mp4">
<source src="video.webm" type="video/webm">
<source src="video.ogv" type="video/ogg">
</video>
¡ÒÃáÊ´§¼Å
ÇÕ´ÕâͨÐÊÒÁÒöàÅè¹ä´é¾ÃéÍÁ¡Ñº¡ÒÃâËŴ˹éÒàÇçºà¾¨ â´ÂäÁèµéͧÃÍãËéâËÅ´àÇçºà¾¨ãËéàÊÃç¨