linkedin facebook linkedin facebook nod32

HTML5 da source tegi

Muallif: Mengliyev Sh.

Qo`shilgan sana: 2016-06-20

HTML5 da source tegi

Source tegi-<audio> va <video>teglari uchun tovushli yoki video fayl qo`yish. Yopilish tegi shart emas.

<audio>
<source src="URL">
</audio>
<video>
<source src="URL">
</video>

Atribiti
media
Qurilmani topish, fayl qayta ishlab chiqish.
src
faylning manzili.
type
MIME-tipini topish

Misol:

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Html5 da video</title>
</head>
<body>

<video width="300" height="200" controls="controls" poster="vv/video.jpg">
<source src="vv/video.ogv" type='video/ogg; codecs="theora, vorbis"'>
<source src="vv/iphon.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'>
<source src="vv/video.webm" type='video/webm; codecs="vp8, vorbis"'>
</video>

</body>
</html>

Natija: Rasm. 1. da keltirilgan.

Рис. 1.Html5 da source tegini qo`llash

Izoh: Brovzerlar: Internet Explorer 9.0, Chrome 6.0, Opera 11.0, Safari 5.2, Firefox 16.0, Android 2.2 va iOS 3.0 versiyalarda natijani chiqarish mumkin.

278 marta o`qildi.

Foydalanuvchi ismi: сардор
Qo`shilgan sana: 2016-06-20

Рахмат

Parol:
Eslab qolish.


Ro`yhatdan o`tish

testing

+998915878681

Siz o`z maxsulotingizni 3D reklama ko`rinishda bo`lishini xohlaysizmi? Unda xamkorlik qilamiz.

3D Reklama


Рейтинг@Mail.ru
Рейтинг@Mail.ru

Besucherzahler
счетчик посещений