Commit 1b61f941 authored by Quxl's avatar Quxl

x

parent 7c2d7033
...@@ -92,7 +92,8 @@ body { ...@@ -92,7 +92,8 @@ body {
}, function(xplayer) { }, function(xplayer) {
console.log("播放器创建好了。") console.log("播放器创建好了。")
document.οnkeydοwn=function(e){ document.οnkeydοwn=function(e){
var keyNum=window.event ? e.keyCode :e.which; var keyNum= window.event ? e.keyCode : e.which;
console.log("keyCode=" + keyNum);
if(keyNum=='32'){ if(keyNum=='32'){
var status = xplayer.getStatus(); var status = xplayer.getStatus();
if(status == 'play') { if(status == 'play') {
...@@ -119,9 +120,6 @@ body { ...@@ -119,9 +120,6 @@ body {
} }
e.preventDefault(); e.preventDefault();
} }
}); });
} else if(authJsonObject.code == 300) { } else if(authJsonObject.code == 300) {
scope.toLogin(); scope.toLogin();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment