Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sn03_playVideo
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
template admin
sn03_playVideo
Commits
17f5916d
Commit
17f5916d
authored
Nov 18, 2023
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整加载动画位置
parent
74a916fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
sn03_playVideo.fire
assets/sn03_playVideo/Scene/sn03_playVideo.fire
+2
-2
sn03_playVideo.ts
assets/sn03_playVideo/Scene/sn03_playVideo.ts
+4
-0
No files found.
assets/sn03_playVideo/Scene/sn03_playVideo.fire
View file @
17f5916d
...
...
@@ -9105,8 +9105,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
332.841
,
44.851
,
0
,
120
,
0,
0,
0,
...
...
assets/sn03_playVideo/Scene/sn03_playVideo.ts
View file @
17f5916d
...
...
@@ -641,6 +641,8 @@ export default class VideoPlayerComponent extends cc.Component {
this
.
fullscreenVideoControls
.
emit
(
"
show
"
);
this
.
videoPlayer
.
stayOnBottom
=
true
;
this
.
videoControls
.
active
=
false
;
// 调整加载动画位置
this
.
loadingSprite
.
y
=
0
;
cc
.
find
(
`Canvas/title`
).
active
=
false
;
cc
.
find
(
'
Canvas/pageButton
'
).
active
=
false
;
setTimeout
(()
=>
{
...
...
@@ -688,6 +690,8 @@ export default class VideoPlayerComponent extends cc.Component {
this
.
fullscreenVideoControls
.
emit
(
"
hide
"
);
// 显示正常视频控制条
this
.
videoControls
.
active
=
true
;
// 调整加载动画位置
this
.
loadingSprite
.
y
=
120
;
// 显示全屏按钮
cc
.
find
(
`fullscreen`
,
this
.
videoControls
).
active
=
true
;
// 隐藏退出按钮
...
...
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