-
Notifications
You must be signed in to change notification settings - Fork 1
/
video.html
43 lines (38 loc) · 1.1 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
35
36
37
38
39
40
41
42
43
<!DOCTYPE html>
<head>
<title>Mobility Workshop</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/jquery.mobile-1.4.2.min.css"></link>
<script src="/js/lib/jquery-2.1.0.min.js"></script>
<script src="/js/lib/jquery.mobile-1.4.2.min.js"></script>
<script src="/js/lib/require.js"></script>
<script>
requirejs.config({
paths: {
'jquery' : '/js/lib/jquery-2.1.0.min', //=> http://code.jquery.com/jquery-2.1.0.min
'jquery.mobile' : '/js/lib/jquery.mobile-1.4.2.min', //=> http://code.jquery.com/mobile/1.4.2/jquery.mobile-1.4.2.min
},
shim: {
'jquery' : '$',
'jquery.mobile': {
deps: ['jquery'],
},
},
});
</script>
</head>
<body>
<div id="video-page" data-role="page" data-theme="a">
<header data-role="header" data-position="fixed">
<h1>No Name</h1>
</header>
<section data-role="main">
</section>
<script>
require(['jquery', 'js/Video', 'jquery.mobile'], function($, Video){
var video = new Video(JSON.parse(window.localStorage.currentVideo));
});
</script>
</div>
</body>
</html>