-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.html
41 lines (36 loc) · 1.05 KB
/
test.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>嵌入swf测试</title>
<style>
.wdg-flash-socket-box {
position: absolute;
top: 0;
left: 0;
width: 1000px;
height: 800px;
opacity: 1;
filter: alpha(opacity=1);
}
</style>
</head>
<body>
<div class="wdg-flash-socket-box">
<object type="application/x-shockwave-flash" id="flashRoute" data="./out/FlashSocket.swf" width="100%" height="100%">
<param name="allowscriptaccess" value="always">
<param name="wmode" value="transparent">
<param name="seamlesstabbing" value="false">
<param name="flashvars" value="ns=&debug=0">
</object>
</div>
</body>
<script>
window.FlashSocketReady = function() {
console.log('FlashSocketReady');
return true;
}
</script>
</html>