Videos
Youtube video:
Local video:
Videos HTML:
To add a youtube video into your page do the following: go to youtube > click the share button in a video > click embed > copy and paste the code into your html!
<video src="link.to.video" alt="text for when the video doesnt load in." title="Video title." controls autoplay><video/>
<!-- Add "controls" to allow poeople to manually pause or play the video, add "autoplay" to automaticly start the video when the page is loaded.-->
To add a youtube video into your page do the following: go to youtube > click the share button in a video > click embed > copy and paste the code into your html!
<video src="link.to.video" alt="text for when the video doesnt load in." title="Video title." controls autoplay><video/>
<!-- Add "controls" to allow poeople to manually pause or play the video, add "autoplay" to automaticly start the video when the page is loaded.-->
Videos CSS:
Videos don't need CSS to work, but sometimes they arent the right size. This can then be adjusted with CSS. You can also customize them abit with CSS.
video {
height: 500px;
width: 1000px; /*This together with the height makes the image rectangle*/
border-radius: 10px; /*Gives the video a nice round edge*/
}
Videos don't need CSS to work, but sometimes they arent the right size. This can then be adjusted with CSS. You can also customize them abit with CSS.
video {
height: 500px;
width: 1000px; /*This together with the height makes the image rectangle*/
border-radius: 10px; /*Gives the video a nice round edge*/
}