![](../icon/headdata.png)
¡ÒÃàÅè¹Íѵâ¹ÁÑµÔ Autoplay
ËÒ¡àÃÒ¡Ó˹´ autoplay ¨Ðà»ç¹¡ÒÃÊÑè§ãËéàÅè¹ÇÕâÕâÍÍѵâ¹ÁÑµÔ àÁ×èÍÁÕ¡ÒÃâËÅ´ÇÕ´ÕâÍä»áÅéǪèǧ˹Öè§ ËÒ¡¤ÇÒÁàÃçÇÍÔ¹àµÍÃìà¹çµÊÙ§¾Í ¡ç¨ÐàÅè¹ä¿ÅìÇÕ´ÕâÍѵâ¹ÁѵÔä»àÃ×èÍÂæ áÅШÐËÂØ´àÅ蹷ѹ·ÕËÒ¡ÁÕ¡ÒÃâËÅ´£éÒ¨¹äÁèÊÒÁÒöàÅè¹ÇÕ´Õâ͵èÍà¹×èͧä´éáÅéÇ áµè㹺ҧàºÃÒÇìà«ÍÃìÍÒ¨äÁèʹѺʨع¡ÒÃàÅè¹Íѵâ¹ÁѵԴéÇÂ
Attribute
áÍ··ÃÔºÔǵì | autoplay |
µÓá˹è§á·ç¡ | ÍÂÙèÀÒÂã¹á·ç¡à»Ô´ <video>...</video> |
ÃٻẺ¡ÒÃãªéá·ç¡ | <video autoplay> <source src="url" type="video/mp4"> </video> |
µÑÇÍÂèÒ§¡ÒÃãªé§Ò¹
<body>
<video controls autoplay>
<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>
¡ÒÃáÊ´§¼Å
ÇÕ´ÕâͨÐàÅè¹àͧÍѵâ¹ÁÑµÔ â´Â·ÕèàÃÒäÁèµéͧ¡´à¾×èÍãËéÇÕ´ÕâÍàÅè¹ áµèàÃÒ¡çÊÒÁÒö¡´ËÂØ´ËÃ×ͤÇÒÁ¤ØÁä´é¨Ò¡à¤Ã×èͧÁ×ͤǺ¤ØÁ