How to attach video in HTML document?

Asked By 10 points N/A Posted on -
qa-featured

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.

SHARE
Best Answer by Tanok Bloran
Best Answer
Best Answer
Answered By 0 points N/A #118182

How to attach video in HTML document?

qa-featured

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

Answered By 0 points N/A #118184

How to attach video in HTML document?

qa-featured

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>

Login/Register to Answer

Related Questions