-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathposter_room.html
30 lines (30 loc) · 1023 Bytes
/
poster_room.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Online Poster Room Example</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="poster_room.js"></script>
<link rel="stylesheet" type="text/css" href="poster_room.css">
</head>
<body>
<h1>Online Poster Room Example</h1>
<div id="online_poster_room_browser"> </div>
<script type="text/javascript">// <![CDATA[
var opr = {poster_show: false, lang: 'en'};
$(function () {
$.getJSON("poster_room.json", function(json_data) {
opr = json_data;
})
.fail(function (jqxhr, textStatus, error) {
var err = textStatus + ", " + error;
console.log('Failed to load JSON data: ' + err);
})
.always(function () {
init_online_poster_room(opr);
});
});
// ]]></script>
</body>
</html>