Created
January 28, 2021 21:20
-
-
Save bjoerntx/9b5dfc713cef45c062ff157ab8ed6462 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment