SMIL Media Element

SMIL ນຳໃຊ້ສະຫຼຸບສີນັກພາບເພື່ອອະທິບາຍສະນະ.

Media Element

ສະຫຼຸບສີນັກພາບທີ່ສາມາດໃຊ້ໃນເອກະສານ SMIL ທີ່ກວດສອບສະຫຼຸບສີນັກພາບທັງໝົດອາດເປັນ:

ສະຫຼຸບ ອະທິບາຍ Ver
<animation> ການອະທິບາຍການຫຼຸດອອກ. 1
<audio> ການອະທິບາຍສີນັກສຽງ. 1
<brush> ການອະທິບາຍປະສົມ. 1
<img> ການອະທິບາຍສີນັກພາບ. 1
<param> ການອະທິບາຍປະສົມ. 1
<ref> ການອະທິບາຍການຫຼຸດອອກສີນັກພາບທົ່ວໄປ. 1
<text> ການອະທິບາຍສີນັກພາບ. 1
<textstream> ການອະທິບາຍສີນັກສຽງ. 1
<video> ການອະທິບາຍວິດີໂອ. 1

Media Property

ຕ້ອງໃຊ້ປະສົມບັນ src ທີ່ກວດສອບ (URL) ເພື່ອກວດສອບສະຫຼຸບສີນັກພາບທັງໝົດໃນເອກະສານ SMIL. ປະສົມບັນ src ແມ່ນປະສົມບັນທີ່ໃຊ້ຫຼາຍທີ່ສຸດໃນສະຫຼຸບສີນັກພາບ.

ປະສົມບັນ type ທີ່ກຳນົດລັກສະນະສີນັກພາບ. ຖ້າປະສົມບັນ type ຖືກທຳລາຍ, ເອກະສັນອາດສາມາດຮັບຂໍ້ມູນລັກສະນະຈາກຜູ້ບໍລິຫານບໍລິການ. ຜູ້ພັດທະນາບໍ່ຄວນຄິດຫາກວ່າຈະອະທິບາຍລັກສະນະຈາກສຳພັນຂອງຊຸດແບບບັນຊະນະ.

ປະສົມປະສົມ ອະທິບາຍ Ver
erase ການອະທິບາຍສິດຄວາມການປະຕິບັດຂອງສະຫຼຸບພາຍຫຼັງການຈັດການ. 1
src ການອະທິບາຍຕົວເຫດຂອງສະຫຼຸບສີນັກພາບ. 1
type ການອະທິບາຍລັກສະນະສີນັກພາບ. 1

ສຳລັບລາຍການສະຫຼຸບ SMIL ແລະ ຜະສົມປະສົມບັນຫຼືຜະສົມປະສົມບັນ, ຍັງບໍ່ມີຫາ CodeW3C.com SMIL Reference Manual.

<animation> ປະກອບສະຫຼຸບ

<animation> ປະກອບການຫຼຸດອອກສະຫຼຸບອອກຈາກຫຼັກວິດີໂອຫຼືຮູບຮູບສະຫຼຸບອື່ນ.

ບໍ່ຄວນຜິດຫົວຂໍ້ລະຫວ່າງ <animation> ແລະ <animate> <animation> ປະກອບການຫຼຸດອອກສະຫຼຸບອອກຈາກຫຼັກວິດີໂອຫຼືຮູບຮູບສະຫຼຸບອື່ນ. <animate> ປະກອບການການສະແດງອອກຈາກສະຫຼຸບອື່ນ.

<audio> ປະກອບສະຫຼຸບ

<audio> ປະກອບການຫຼຸດອອກສະຫຼຸບສີນັກສຽງຈາກສີນັກສຽງທີ່ຖືກບັນທຶກ.

Example:

<html xmlns:t="urn:schemas-microsoft-com:time">
<head>
  <?import namespace="t" implementation="#default#time2">
</head>
<body>
<t:audio
src="liar.wav"
repeatCount="indefinite"
type="wav" />
</body>
</html>

TIY

<brush> ປະກອບສະຫຼຸບ

<brush> ປະກອບການປະກອບສີຫຼືວົງວັດ.

ປະກອບນັ້ນແມ່ນການພົບສີຫຼືວົງວັດຈາກສະຫຼຸບສີນັກພາບ.

<img> ປະກອບສະຫຼຸບ

<img> ປະກອບການຫຼຸດອອກສະຫຼຸບສີນັກພາບຈາກ JPG ຫຼື ຮູບຮູບສະຫຼຸບອື່ນ.

Example:

<img src="myimage.gif" type="GIF" />

ປະກອບ<param> ສະຫຼຸບ

<param> element defines parameters for any other media element.

Example:

<param name="color" value="red" />

<ref> element

<ref> element defines a reference to a general media element.

The <ref> element can be used when the media type is not well-defined.

<text> element

<text> element defines a reference to a text object that is stored as text.

<textstream> element

<textstream> element defines a reference to a text object that is stored as a text stream.

<video> element

<video> element defines a reference to a video object that is stored as a recorded video.

Example:

<html xmlns:t="urn:schemas-microsoft-com:time">
<head>
  <?import namespace="t" implementation="#default#time2">
</head>
<body>
<t:video
src="http://www.ananova.com/about/vap_windows_check.wmv"
repeatCount="indefinite"
type="wmv" />
</body>
</html>

TIY