gpt-4o-2024-11-20· OpenAI
WildChat-4.8M (AI2)
buatkan html kode video
- User
buatkan html kode video
- Assistant
Berikut adalah contoh kode HTML sederhana untuk menampilkan sebuah video menggunakan elemen
<video>:html<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Contoh Video</title> </head> <body> <h1>Video Player HTML</h1> <!-- Elemen video --> <video width="640" height="360" controls> <source src="video-contoh.mp4" type="video/mp4"> <source src="video-contoh.ogg" type="video/ogg"> Browser Anda tidak mendukung video tag ini. </video> </body> </html>