Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cartoon_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
cartoon_video
Commits
229d6e20
Commit
229d6e20
authored
Sep 22, 2022
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat
parent
ee730b1f
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
110 additions
and
180 deletions
+110
-180
cartoon_video.meta
assets/cartoon_video.meta
+1
-15
cartoon_video.fire
assets/cartoon_video/Scene/cartoon_video.fire
+103
-163
cartoon_video.js
assets/cartoon_video/Scene/cartoon_video.js
+5
-1
defaultData.js
assets/cartoon_video/Script/defaultData.js
+1
-1
No files found.
assets/cartoon_video.meta
View file @
229d6e20
{
"ver": "1.1.2",
"uuid": "4f557179-a05f-4891-bac0-6a3d0275c8ce",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {
"ios": false,
"android": false
},
"subMetas": {}
}
\ No newline at end of file
{"ver":"1.1.2","uuid":"4f557179-a05f-4891-bac0-6a3d0275c8ce","isBundle":false,"bundleName":"","priority":1,"compressionType":{},"optimizeHotUpdate":{},"inlineSpriteFrames":{},"isRemoteBundle":{"ios":false,"android":false},"subMetas":{}}
\ No newline at end of file
assets/cartoon_video/Scene/cartoon_video.fire
View file @
229d6e20
This diff is collapsed.
Click to expand it.
assets/cartoon_video/Scene/cartoon_video.js
View file @
229d6e20
...
...
@@ -388,12 +388,16 @@ cc.Class({
},
play
(){
const
{
width
,
height
}
=
cc
.
find
(
`Canvas/bg`
);
cc
.
find
(
`Canvas/Controls/ProgressBar/text_tips_left`
).
active
=
false
;
cc
.
find
(
`Canvas/bg`
).
active
=
false
;
cc
.
find
(
`Canvas/bgwhite`
).
active
=
false
;
cc
.
find
(
`Canvas/bg_empty`
).
active
=
false
;
cc
.
find
(
`Canvas/video_node`
).
opacity
=
255
;
cc
.
find
(
'
Canvas/video_node/bg
'
).
width
=
width
;
cc
.
find
(
'
Canvas/video_node/bg
'
).
height
=
height
;
this
.
videoPlayer
.
node
.
x
=
0
;
this
.
videoPlayer
.
node
.
y
=
0
;
// this.videoPlayer.node.active = true;
this
.
videoPlayer
.
play
();
this
.
triggerInteractive
()
...
...
assets/cartoon_video/Script/defaultData.js
View file @
229d6e20
export
const
defaultData
=
{
"
video_url
"
:
"
http
s://iplayabc-teach-yun-test.oss-cn-beijing.aliyuncs.com/movie2
.mp4
"
"
video_url
"
:
"
http
://staging-teach.cdn.ireadabc.com/1dde63cee33e4445fbab13297479e733
.mp4
"
}
\ 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