Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
op_video_01
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
op_video_01
Commits
a7231f49
Commit
a7231f49
authored
Jul 27, 2022
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
c4520b36
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
4 deletions
+17
-4
op_video_01.js
assets/op_video_01/scene/op_video_01.js
+17
-4
No files found.
assets/op_video_01/scene/op_video_01.js
View file @
a7231f49
...
@@ -521,13 +521,26 @@ cc.Class({
...
@@ -521,13 +521,26 @@ cc.Class({
this
.
videoplayer
.
remoteURL
=
this
.
data
.
video_url
;
this
.
videoplayer
.
remoteURL
=
this
.
data
.
video_url
;
//
this.addServerListener();
this
.
addServerListener
();
//
if (window && window["air"]) {
if
(
window
&&
window
[
"
air
"
])
{
//
window["air"].hideAirClassLoading();
window
[
"
air
"
].
hideAirClassLoading
();
//
}
}
});
});
},
},
addServerListener
()
{
console
.
log
(
'
addServerListener
'
);
if
(
window
&&
window
[
"
air
"
])
{
window
.
air
.
onCourseInScreen
=
(
next
)
=>
{
this
.
playGame
();
next
();
}
}
else
{
this
.
playGame
();
}
},
addPreloadAudio
(
callback
)
{
addPreloadAudio
(
callback
)
{
...
...
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