-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
31 lines (24 loc) · 1.04 KB
/
index.html
File metadata and controls
31 lines (24 loc) · 1.04 KB
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
<html>
<head>
<!-- jQuery CDN -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"
integrity="sha512-bLT0Qm9VnAYZDflyKcBaQ2gg0hSYNQrJ8RilYldYQ1FxQYoCLtUjuuRuZo+fjqhx/qtq/1itJ0C2ejDxltZVFg=="
crossorigin="anonymous">
</script>
<!-- DocumentServices JavaScript -->
<script src="DocumentServices.DocumentViewer.js"></script>
</head>
<body>
<!-- Host container for the document viewer -->
<div id="txViewer" style="width: 800px; height: 500px;"></div>
<script>
var clientID = "";
var clientSecret = "";
var serviceURL = "https://trial.dsserver.io";
// initialize DocumentViewer
DocumentServices.DocumentViewer.setUserNames(["user1"]);
DocumentServices.DocumentViewer.setShowThumbnailPane(true);
DocumentServices.DocumentViewer.init(clientID, clientSecret, serviceURL, "txViewer");
</script>
</body>
</html>