HTML 5 Video

Agak telat info saya, terkait standard HTML yang satu ini. Wah, sekarang embed video jadi keren ya. Look for the example here :

http://newrelic.com/

atau lihat tutorialnya di sini.

http://www.w3schools.com/html/html5_video.asp

Dan ternyata caranya gampang banget. Cobain ah…

<video width="320" height="240" autoplay>
 <source src="movie.mp4" type="video/mp4">
 <source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>

Sayangnya, walaupun udah jadi “standard” HTML 5, tapi belum semua browser support ya. Come on dude, this tag is awesome. Made it in your browsers!!

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s