Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
X
xplayer
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
曲欣亮
xplayer
Commits
bed780eb
Commit
bed780eb
authored
Feb 06, 2020
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
9beb30bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
player.html
src/main/resources/page/player.html
+8
-3
No files found.
src/main/resources/page/player.html
View file @
bed780eb
...
...
@@ -91,7 +91,7 @@ body {
playauth
:
playAuth
},
function
(
xplayer
)
{
console
.
log
(
"播放器创建好了。"
)
document
.
ο
nkeyd
ο
wn
=
function
(
e
){
document
.
ο
nkeyd
ο
wn
=
function
(
e
){
var
keyNum
=
window
.
event
?
e
.
keyCode
:
e
.
which
;
console
.
log
(
"keyCode="
+
keyNum
);
if
(
keyNum
==
'32'
){
...
...
@@ -118,7 +118,6 @@ body {
xplayer
.
seek
(
0
);
}
}
e
.
preventDefault
();
}
});
}
else
if
(
authJsonObject
.
code
==
300
)
{
...
...
@@ -175,7 +174,13 @@ body {
}
});
window
.
onresize
=
function
()
{
var
w
=
document
.
documentElement
.
clientWidth
||
document
.
body
.
clientWidth
;
var
h
=
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
;
$
(
"#app"
).
width
(
w
);
$
(
"#app"
).
height
(
h
);
}
window
.
onresize
();
</script>
</body>
</html>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment