button id="replay">播放录像</button>
	</body>
	<script>
		var Ryu = {
			attack: function(){
				console.log( '攻击' );
			},
			defense: function(){
				console.log( '防御' );
			},
			jump: function(){
				console.log( '跳跃' );
			},
			crouch: function(){
				console.log( '蹲下' );
			}
		};

		var makeCommand = function( receiver, state ){ // 创建命令
			return function(){
				receiver[ state ]();
			}
		};
		var commands = {
			"119": "jump", // W
			"115": "cr