Include video in the web page

The <embed> tag includes a video clip in a web page.

There are other options to add to this tag to control the playback:

src=path to movie file name can be relative or full URL

width/height=width/height of the movie window

autoplay=true/false--whether the movie should automatically start playing or wait for user to click the play button

controller=true/false --whether the movie displays a control bar the bottom

href=URL--location to send visitor if they click on the movie

target=window name that allows href to be displayed in another browser window

loop=true/false--whether the repeat the movie in a loop

pluginspage=URL--where to send a visitor that does not have the QuickTime plug-in

Example:

<html>

<head

<title>Playing sound file</title>

</head>

<body>

<form>

<embed src="Kalimba.mp3" width="100" height= "100"></embed>

</form>

</form>

</body>

</html>



HTML Comment Box is loading comments...



This website intents to provide free and high quality tutorials, examples, exercises and solutions, questions and answers of programming and scripting languages:
C, C++, C#, Java, VB.NET, Python, VBA,PHP & Mysql, SQL, JSP, ASP.NET,HTML, CSS, JQuery, JavaScript and other applications such as MS Excel, MS Access, and MS Word. However, we don't guarantee all things of the web are accurate. If you find any error, please report it then we will take actions to correct it as soon as possible.