forked from human-divanshu/Text-to-Sign-Language
-
Notifications
You must be signed in to change notification settings - Fork 0
/
avatarnew (copy).php
169 lines (150 loc) · 5.48 KB
/
avatarnew (copy).php
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<!DOCTYPE html>
<html><head>
<?php require_once("include.php"); ?>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ISL : Avatar Page</title>
<meta http-equiv="Access-Control-Allow-Origin" content="*">
<meta http-equiv="Access-Control-Allow-Methods" content="GET">
<link rel="stylesheet" href="css/cwasa.css">
<script type="text/javascript" src="avatar_files/allcsa.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body onload="CWASA.init();">
<?php
include_once("nav.php");
?>
<div class="container" id="loading">
<div class="row">
<div class="col-md-12 text-center">
<span style="background-color:#ebf8a4; padding: 8px 20px;">
<i class="fa fa-spinner fa-spin"></i> Loading application. Please wait...</span>
</div>
</div>
</div>
<!-- CWA signing avatar panel 0 -->
<!--================================================================-->
<div class="CWASAPanel av0" align="center"><table class="avTable av0"><tbody><tr>
<td align="center" style="display:none;">
<div class="divCtrlPanel">
<!--========================================================-->
<<span class="spanPlayA av0">
Avatar:
<select class="menuAv av0">
<option value="anna">anna</option>
<option value="beatrice">beatrice</option>
<option value="candy">candy</option>
<option value="darshan">darshan</option>
<option value="francoise">francoise</option>
<option value="genie">genie</option>
<option value="luna">luna</option>
<option value="marc" selected="selected">marc</option>
<option value="max">max</option>
<option value="monkey">monkey</option>
<option value="otis">otis</option>
<option value="robotboy">robotboy</option>
<option value="siggi">siggi</option>
</select>
</span><!--class="spanPlayA av0"-->
<br>
<!--========================================================-->
<span class="spanSpeed av0">
Speed (log<sub>2</sub> scale):
<input class="txtLogSpeed av0" value="+0.0" type="text">
<input value="-" class="bttnSpeedDown av0" type="button">
<input value="+" class="bttnSpeedUp av0" type="button">
<input value="Reset" class="bttnSpeedReset av0" disabled="disabled" type="button">
</span> <!--class="spanSpeed av0"-->
<br>
<hr style="height:1px;">
<span align="center" class="divSiGML av0">
SiGML URL:<br>
<input class="txtSiGMLURL av0" value="scotland-H.sigml" type="text"><br>
SiGML Text:<br>
<textarea class="txtaSiGMLText av0" rows="4">
<sigml>
<hns_sign gloss="hello">
<hamnosys_nonmanual>
<hnm_mouthpicture picture="hVlU"/>
</hamnosys_nonmanual>
<hamnosys_manual>
<hamflathand/>
<hamthumboutmod/>
<hambetween/>
<hamfinger2345/>
<hamextfingeru/>
<hampalmd/>
<hamshouldertop/>
<hamlrat/>
<hamarmextended/>
<hamswinging/>
<hamrepeatfromstart/>
</hamnosys_manual>
</hns_sign>
</sigml>
</textarea>
</span> <!--class="divSiGML av0"-->
<br>
<!--========================================================-->
<span class="spanSiGMLCtrlA av0">
<!--input type="button" value="Play CAS" class="bttnPlayCAS av0" /-->
<input value="Play SiGML URL" class="bttnPlaySiGMLURL av0" type="button">
<input value="Play SiGML Text" class="bttnPlaySiGMLText av0" type="button">
<input value="Stop" class="bttnStop av0" disabled="disabled" type="button">
</span> <!--class="spanSiGMLCtrlA av0"-->
<br>
<span align="center" class="spanSiGMLCtrlB av0">
<input value="Suspend" class="bttnSuspend av0" disabled="disabled" type="button">
<input value="Resume" class="bttnResume av0" disabled="disabled" type="button">
Frames:
<input value="-1" class="bttnPrevF av0" disabled="disabled" type="button">
<input value="+1" class="bttnNextF av0" disabled="disabled" type="button">
</span> <!--class="spanSiGMLCtrlB av0"-->
<br>
<!--========================================================-->
<hr style="height:1px;">
<!--========================================================-->
<span class="spanInfo av0">
Sign/Frame:
<input class="txtSF av0" value="2/110" type="text">
Gloss:
<input class="txtGloss av0" value="i" type="text">
FPS:
<input class="txtFPS av0" value="40.37" type="text">
</span> <!--class="spanInfo av0"-->
<br>
<!--========================================================-->
<span class="spanInfo av0">
Status:
<input class="statusExtra av0" value="Client: Playing complete" type="text">
</span> <!--class="spanInfo av0"-->
</div>
</td>
<td width="8"></td>
<td height="320" width="384">
<div class="divAv av0">
<canvas class="canvasAv av0" ondragstart="return false" width="374" height="403"></canvas>
</div> <!--class="divAv av0"-->
</td>
</tr></tbody></table></div>
<!--================================================================-->
<hr>
<!-- CWA signing avatar panel 1 -->
<!--================================================================-->
<!--div class="CWASAPanel av1" align="center" ></div-->
<!--================================================================-->
<!--hr-->
<!-- Hidden SToCA applet element panel -->
<!--================================================================-->
<div class="SToCA" align="center"></div>
<!--================================================================-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js">
<script type="text/javascript">
$(document).ready(function() {
startPlayer("SignFiles/boy.sigml");
});
</script>
</body></html>