Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dg_video
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
dg_video
Commits
fc3011da
Commit
fc3011da
authored
Nov 03, 2022
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 修改素材
parent
394865df
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
dg_video.js
assets/dg_video/Scene/dg_video.js
+3
-3
process.png
assets/dg_video/Texture/video/process.png
+0
-0
process.png.meta
assets/dg_video/Texture/video/process.png.meta
+1
-1
No files found.
assets/dg_video/Scene/dg_video.js
View file @
fc3011da
...
...
@@ -157,9 +157,6 @@ cc.Class({
this
.
videoPlayer
.
node
.
on
(
'
ready-to-play
'
,
()
=>
{
console
.
log
(
'
ready-to-play
'
);
this
.
playButton
.
active
=
true
;
});
this
.
videoPlayer
.
node
.
on
(
'
meta-loaded
'
,
()
=>
{
console
.
log
(
'
meta-loaded
'
);
cc
.
find
(
`Canvas/bg_video_shadow`
).
active
=
false
;
cc
.
find
(
`Canvas/loading`
).
active
=
false
;
this
.
durationLabel
.
string
=
this
.
formatTime
(
this
.
videoPlayer
.
getDuration
());
...
...
@@ -169,6 +166,9 @@ cc.Class({
// this.videoPlayer.resume();
this
.
play
();
});
this
.
videoPlayer
.
node
.
on
(
'
meta-loaded
'
,
()
=>
{
console
.
log
(
'
meta-loaded
'
);
});
this
.
videoPlayer
.
node
.
on
(
'
clicked
'
,
()
=>
{
console
.
log
(
'
clicked
'
);
if
(
this
.
isVideoFull
)
{
...
...
assets/dg_video/Texture/video/process.png
View replaced file @
394865df
View file @
fc3011da
251 Bytes
|
W:
|
H:
1.57 KB
|
W:
|
H:
2-up
Swipe
Onion skin
assets/dg_video/Texture/video/process.png.meta
View file @
fc3011da
...
...
@@ -7,7 +7,7 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 7
30
,
"width": 7
89
,
"height": 9,
"platformSettings": {},
"subMetas": {
...
...
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