HTML | Tags and Attributes [Multimedia] [Add Video]




Ü Attaching video file : Attaching video file is similar the second process of attaching audio file. 

<EMBED SRC=”…” AUTOSTART=”..” HEIGHT=”..” WIDTH=”..” LOOP=”..” ALIGN=”..” HIDDEN=”..  ”>


Attribute
Description
SRC=”..”
The value of SRC attribute specifies the sound file location.
AUTOSTART=”..”
The values of AUTOSTART attribute are TRUE and FALSE, which specifies that the sound will start automatically or not.
HEIGHT=”..”
It specifies the height of sound control box.
WIDTH=”..”
It specifies the width of sound control box.
ALIGN=”..”
It is used to align the sound control box., values are LEFT, RIGHT, CENTER, ABSBOTTOM, ABSMIDDLE, BOTTOM, BASELINE, TEXTTOP and TOP
HIDDEN=”..”
It specifies the visibility of the sound control box. Values are TRUE and FALSE.
LOOP=”..”
Specifies the number of times the background sound will be repeated. By default it has INFINITE value, which means the sound will be repeated for infinite time.

Now consider the following input and the output to understand,

Input :
<HTML> <HEAD><TITLE>Others</TITLE></HEAD>
<BODY>
<CENTER><H1>Adding movie to a HTML page........<H1>
<EMBED SRC="Chori Chori_NEW.avi" AUTOSTART=TRUE LOOP=5 HEIGHT=240 WIDTH=320 HIDDEN=FALSE>
</CENTER>
</BODY>
</HTML>
Output 

Recommended Recommends

Comments

Contact Us