Embedding Multimedia

 

Introduction,

You can add music or video into your web page. The easiest way to add video or sound to your web site is to include the special HTML tag called <embed>. This tag causes the browser itself to include controls for the multimedia automatically. You do not need to have any ActiveX, Java VM, VBscript or JavaScript to support this <embed> tag.

t’s also a good idea to include the <noembed> tag to support browsers which don’t recognize the <embed> tag. You could, for example, use <embed> to display a movie of your choice, and <noembed> to display a single JPG image.

Attributes:

Following is the list of important attributes for <embed> element.

  • align - Determines how to align the object. It takes either center, left or right.
  • autostart - Indicates if the media should start automatically. Netscape default is true, Internet Explorer is false.
  • loop - Specifies if the sound should be played continuously (set loop to true), a certain number of times (a positive value) or not at all (false). This is supported by Netscape only.
  • playcount - Specifies the number of times to play the sound. This is alternat option forloop if you are usiong IE.
  • hidden - Defines if the object shows on the page. A false value means no and true means yes.
  • height - Height of the object in pixels or en.
  • width - Width of the object in pixels or en.
  • pluginspage - Specifies the URL to get the plugin software.
  • name - A name used to reference the object.
  • src - URL of the object to be embedded. This can be any recognizable by the user’s browser. It could be .mid, .wav, .mp3, .avi and so on).
  • volume - Controls volume of the sound. Can be from 0 (off) to 100 (full volume). This attribute is supported by Netscape only.

 

 

 

 

Registration


A password will be e-mailed to you.

Feedback Form

Name (required)

Email (required)

Feedback