HTML
|
JavaScript
Alignment
Basics
Character Codes
Colors
CSS
DIVS
Forms
Frames
Links
Lists and Bullets
Meta Tags
Multimedia
Pictures
Spacing
Tables
Text
Audio and Music
Videos
Videos
286
Adding Video
Description
This tag allows you to insert a video clip into your web page. The starting tag is <EMBED SRC="URL" WIDTH="XX" HEIGHT="XX" AUTOSTART="VALUE"> and the closing tag is </EMBED>. Nothing goes between the two tags.
URL is replaced with the internet address of the video file. The two XX's are replaced with the desired width and height of the movie and controls. VALUE is replaced with either
TRUE - Movie automatically starts
FALSE - Movie starts when play button is pushed
Code
<html><BODY>
<EMBED SRC="http://www.activejump.com/videos/samplevideo.mov" WIDTH="370" HEIGHT="300" AUTOSTART="FALSE">
</EMBED>
</BODY></html>
Output
Practice
<html><BODY> <EMBED SRC="http://www.activejump.com/videos/samplevideo.mov" WIDTH="370" HEIGHT="300" AUTOSTART="FALSE"> </EMBED> </BODY></html>
Loop Play
Description
Loop play allows you to have the movie repeat itself continuously. To specify if you want the movie to repeat continuously, add the line LOOP="#" to your normal music tag. Replace # with either 0 or 1.
0 - Movie Plays Through Once
1 - Movie Plays Continuously
The final result will look like the one below.
<EMBED SRC="URL" WIDTH="XX" HEIGHT="XX" AUTOSTART="VALUE" LOOP="#">
Code
<html><BODY>
<EMBED SRC="http://www.activejump.com/videos/samplevideo.mov" WIDTH="370" HEIGHT="300" AUTOSTART="FALSE" LOOP="1">
</EMBED>
</BODY></html>
Output
Practice
<html><BODY> <EMBED SRC="http://www.activejump.com/videos/samplevideo.mov" WIDTH="370" HEIGHT="300" AUTOSTART="FALSE" LOOP="1"> </EMBED> </BODY></html>
Advertisements