1.เลือกคลิปที่ต้องการแล้วกดคลิกขวาเลือก 'คัดลอกโค้ดสำหรับฝัง' 2.จะได้ Code
โค้ด: เลือกทั้งหมด
<iframe width="854" height="400"
src="https://www.youtube.com/embed/t2ByLmLnYJ8" allowfullscreen></iframe>
3.นำ Code ไปใส่ใน HTML
โค้ด: เลือกทั้งหมด
<!DOCTYPE html>
<html>
<body>
<h1>ตัวอย่างคลิปวีดีโอจาก Youtube </h1>
<iframe width="854" height="400"
src="https://www.youtube.com/embed/t2ByLmLnYJ8" allowfullscreen></iframe>
</body>
</html>
4.ผลลัพธ์