Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
ngt_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
ngt_video
Commits
bc81ef00
Commit
bc81ef00
authored
Oct 21, 2022
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 广锴不信,非得用原视频
parent
c8f35419
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ngt_video.js
assets/ngt_video/Scene/ngt_video.js
+3
-3
No files found.
assets/ngt_video/Scene/ngt_video.js
View file @
bc81ef00
...
@@ -368,10 +368,10 @@ cc.Class({
...
@@ -368,10 +368,10 @@ cc.Class({
getData
(
async
(
data
)
=>
{
getData
(
async
(
data
)
=>
{
console
.
log
(
'
data:
'
,
JSON
.
stringify
(
data
));
console
.
log
(
'
data:
'
,
JSON
.
stringify
(
data
));
this
.
data
=
data
||
this
.
getDefaultData
();
this
.
data
=
data
||
this
.
getDefaultData
();
this
.
getVideoUrl
(
videoUrl
=>
{
//
this.getVideoUrl(videoUrl => {
this
.
data
.
video_url
=
videoUrl
;
//
this.data.video_url = videoUrl;
this
.
videoPlayer
.
remoteURL
=
this
.
data
.
video_url
;
this
.
videoPlayer
.
remoteURL
=
this
.
data
.
video_url
;
});
//
});
await
this
.
initView
();
await
this
.
initView
();
});
});
...
...
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