-
Notifications
You must be signed in to change notification settings - Fork 5
/
sample.html
executable file
·44 lines (31 loc) · 1.01 KB
/
sample.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
<!DOCTYPE html>
<html>
<head>
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/css/bootstrap.no-icons.min.css" rel="stylesheet">
<link href="//netdna.bootstrapcdn.com/font-awesome/3.0.2/css/font-awesome.css" rel="stylesheet">
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script src="/js/cam.js"></script>
<link href="/css/style.css" rel="stylesheet">
</head>
<body>
<section name="camera_view">
</section>
<script>
$(function(){
new $.camJS($('section[name="camera_view"]'),{
cameras: [{
'url': "http://192.168.0.10",
'stream_route': "/videostream.cgi",
'control_route': "/decoder_control.cgi",
'name': 'Yard'
},{
'url': "http://192.168.0.11",
'stream_route': "/videostream.cgi",
'control_route': "/decoder_control.cgi",
'name': 'Garage'
}]
});
});
</script>
</body>
</html>