</video>
<script type="text/javascript">
- var render = "${render}"
+ var render = "${render}";
var x, y = [], z = [], ox = 0, cnt = 0, ty, tz;
var video, scale, lv, rv, debug;
var w, h, scale;
r = ty / 9.81 * -90;
ox = ox + ty * 2;
- if ( render = "180" ) {
- if (ox > w / 8) { ox = w / 8; }
- else if ( ox < -w / 8) { ox = -w / 8; }
+ if ( render == "180" ) {
+ if (ox > w / 8) { ox = w / 8; } else if (ox < w / -8) { ox = w / -8; }
sy = ( v * h + h / 4) |0;
lc.drawImage(video, (w / 8 + ox) % (w/2) |0, sy, w / 4 |0, h / 2, 0, 0, lv.width, h / 2 * scale);
rc.drawImage(video, (w / 8 * 5 + ox) % (w/2) |0, sy, w / 4 |0, h / 2, 0, 0, rv.width, h / 2 * scale);