-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
88 lines (77 loc) · 3.42 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
77
78
79
80
81
82
83
84
85
86
87
88
<!DOCTYPE html>
<html><head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>Eduvid Video Slidecasting Demo</title>
<link href="files/slide.css" media="screen" rel="stylesheet" type="text/css">
<script type="text/javascript" src="files/jquery-1.js"></script>
<script type="text/javascript" src="files/popcorn.js"></script>
<script type="text/javascript" src="files/popcorn_002.js"></script>
<script type="text/javascript" src="files/slidecasting.js"></script>
<!--
<script src="files/ga.js" async="" type="text/javascript"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-24603666-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
-->
<script type="text/javascript">
$(function(){
var Video = document.getElementById("sc_audio");
$("#sc_links a").click(function(){
var Timecode = $(this).attr("sc_timecode"); //in seconds
Video.currentTime = Timecode;
Video.play(); //optional
});
});
</script>
</head>
<body>
<h1>Eduvid Video Slidecasting Demo </h1>
<h2>By - Narendra Sisodiya (<a href="http://twitter.com/nsisodiya">@nsisodiya</a>)</h2>
<div id="slidecasting">
<div class="presentation">
<div style="display: block;" class="slide"><img src="files/img0.jpg"></div>
<div style="display: none;" class="slide"><img src="files/img1.jpg"></div>
<div style="display: none;" class="slide"><img src="files/img2.jpg"></div>
<div style="display: none;" class="slide"><img src="files/img3.jpg"></div>
<div style="display: none;" class="slide"><img src="files/img4.jpg"></div>
<div style="display: none;" class="slide"><img src="files/img5.jpg"></div>
<div style="display: none;" class="slide"><img src="files/img6.jpg"></div>
<div style="display: none;" class="slide"><img src="files/img7.jpg"></div>
<div style="display: none;" class="slide"><img src="files/img8.jpg"></div>
<div style="display: none;" class="slide"><img src="files/img9.jpg"></div>
<div style="display: none;" class="slide"><img src="files/img10.jpg"></div>
<div style="display: none;" class="slide"><img src="files/img11.jpg"></div>
<div style="display: none;" class="slide"><img src="files/img12.jpg"></div>
</div>
<div class="video">
<video id="sc_audio" controls="controls" preload="metadata">
<source id="ogg" src="files/video.ogv" type="video/ogg">
<p>Your user agent does not support the HTML5 Video element.</p>
</video>
</div>
<!--
<div class="audio">
<audio id="sc_audio" controls="controls" preload="metadata">
<source id="ogg" src="files/audio.ogg" type="audio/ogg">
<source id="mp3" src="files/audio.mp3" type="audio/x-mpeg">
<p>Your user agent does not support the HTML5 Audio element.</p>
</audio>
</div>
-->
</div>
<div id="sc_links">
<ul>
<li><a sc_timecode="0" href="#">Beginning</a></li>
<li><a sc_timecode="300" href="#">5min mark</a></li>
<li><a sc_timecode="600" href="#">10min mark</a></li>
</ul>
</div>
</body>
</html>