-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathexample.htm
40 lines (37 loc) · 1.56 KB
/
example.htm
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>demo</title>
<script src="http://viewer.everydo.com:9870/static/flowplayer.js"></script>
<script src="http://viewer.everydo.com:9870/static/swfobject.js"></script>
<script src="http://viewer.everydo.com:9870/static/md5.js"></script>
<script src="http://viewer.everydo.com:9870/static/viewer.js"></script>
<script src="http://viewer.everydo.com:9870/static/main.js"></script>
</head>
<body>
<div id="doc-viewer-01"></div>
<script type="text/javascript">
var flashkwargs = {
server_url: 'http://viewer.everydo.com:9870',
source_url: 'http://download.zopen.cn/demo/edo-viewer.ppt',
width: 700,
height: 537,
allow_print: false,
allow_copy: false,
waterprint_text: 'www.edodocs.com',
waterprint_size: 70,
waterprint_alpha: 0.4,
waterprint_color: '#D8D8D8',
waterprint_x: 70,
waterprint_y: 230,
waterprint_rotation: -10
}
// EdoViewer API
var viewer = EdoViewer.createViewer('doc-viewer-01', flashkwargs);
viewer.load();
// Call render
var url = getURL('flash', flashkwargs);
render_flash_viewer(url, 'doc-viewer-01', flashkwargs);
</script>
</body>
</html>