No of visitors who read this post: 976
Type: Question
No votes yet

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.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

# Comment Id: 50869

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:

Tanok Bloran

# Comment Id: 90157

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">