-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvideo.html
34 lines (33 loc) · 1.05 KB
/
video.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<link rel=stylesheet href="video.css">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Nieuwsbrief</title>
</head>
<body>
<video playsinline autoplay id="myVideo">
<source src="IntroWebsite.webm" type="video/webm">
<source src="IntroWebsite.mov" type="video/mp4">
</video>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.2.min.js">
</script>
<script type="text/javascript">
var video = document.getElementById('myVideo');
video.src = 'my_video_' + value + '.ogg';
video.load();
video.addEventListener('loadeddata', function() {
// Video is loaded and can be played
}, false);</script>
<script type="text/javascript">
$(document).ready(function(){
$("#myVideo").bind('ended', function(){
location.href="index.html";
});
});
</script>
</body>
</html>