Open hpcawthorne1 opened 8 years ago
You need to encode your video to mp4. This will allow you to use the HTML5 video element.
To place a video into your content, simply use the <video>
tag. You might need to style it, giving it a class name and setting it's max-width: 100%;
e.g. in HTML:
<video src="img/trailer.mp4" controls class="vid_content"></video>
and in CSS:
.vid_content {
max-width: 100%;
}
For a full-width, auto-play video, see the simple breakdown and HTML5 video test documents.
Hadrian - How do I add a non youtube video?