No of visitors who read this post:
682
Category:
Prog\Scripting Languages
Type:
Question
Author:
Edward Morley
I want to attach a video in my HTML document but I don't know how to attach it.I can attach images of various type
but I don't know how to attach the video file.Is it possible to attach the file.Please respond quickly.Thanks.
- Login or Signup Now to post comments

There are several ways on how to add a video on an HTML so that you can have your movie placed on your own website. One way is using the <embed> tag. The other is using the <object> tag. We also have the <video> tag. All these three are options that you can choose from to let your users see your video on your website. In case you have decided which of those three options you will use and you encounter some issues I would suggest that you go to these websites for further reference and assistance:
http://www.quackit.com/html/codes/html_video_codes.cfm
http://www.w3schools.com/html/html_videos.asp
http://www.tizag.com/htmlT/htmlvideocodes.php
Tanok Bloran
Try this code..
<video width="600" height="400" controls="controls">
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
<source src="movie.webm" type="video/webm">
<object data="movie.mp4" width="600" height="400">
<embed src="movie.swf" width="600" height="400">
</object>
</video>