-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
76 lines (58 loc) · 2.26 KB
/
index.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<html lang="en">
<head>
<script src="js/jquery.min.js"></script>
<script src="https://player.vimeo.com/api/player.js"></script>
<script src="js/jquery.video-log.js"></script>
</head>
<body>
<h2>Console</h2>
<textarea rows="10" cols="40" id="log" readonly></textarea>
<div class="list-videos">
<h2> Vimeo Videos </h2>
<iframe id="vplayer2" class="trackable-video" src="https://player.vimeo.com/video/134957419" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen>
</iframe>
<iframe id="vplayer1" class="trackable-video" src="https://player.vimeo.com/video/76979871" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen>
</iframe>
<h2> HTML5 Videos </h2>
<video id="video1" class="trackable-video" height="250" width="350" controls>
<source
src="videos/art_of_chill_show.mp4"
type="video/mp4">
Your browser does not support HTML5 video.
</video>
<video id="video2" class="trackable-video" height="250" width="350" controls>
<source
src="videos/art_of_chill_show.mp4"
type="video/mp4">
Your browser does not support HTML5 video.
</video>
<h2> Youtube Videos </h2>
<iframe id="yt1" class="trackable-video" src="https://www.youtube.com/embed/M7lc1UVf-VE?enablejsapi=1" frameborder="0">
</iframe>
<iframe id="yt2" class="trackable-video" src="https://www.youtube.com/embed/M7lc1UVf-VE?enablejsapi=1" frameborder="0">
</iframe>
</div>
<script>
jQuery(document).ready(function($) {
$(".trackable-video").videoLog({
});
});
// (function() {
// if (!console) {
// console = {};
// }
// var old = console.log;
// var logger = document.getElementById('log');
// console.log = function(message) {
// if (typeof message == 'object') {
// logger.innerHTML += (JSON && JSON.stringify ?
// JSON.stringify(message) :
// String(message)) + '\n';
// } else {
// logger.innerHTML += message + '\n';
// }
// }
// })();
</script>
</body>
</html>