Commit d008ca63 authored by limingzhe's avatar limingzhe

fix: debug

parent 78d9880a
...@@ -196,11 +196,12 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -196,11 +196,12 @@ export default class SceneComponent extends MyCocosSceneComponent {
console.log('sy: ', sy); console.log('sy: ', sy);
console.log('scale: ', video.node.scale); console.log('scale: ', video.node.scale);
video.play(); video.play();
this.refreshBtnState();
// window["air"].hideAirClassLoading(); // window["air"].hideAirClassLoading();
checkIsPlaying(); checkIsPlaying();
}) })
const checkIsPlaying = () => { const checkIsPlaying = () => {
...@@ -212,6 +213,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -212,6 +213,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
if (video.currentTime) { if (video.currentTime) {
console.log(' in aaaa '); console.log(' in aaaa ');
window["air"].hideAirClassLoading(); window["air"].hideAirClassLoading();
this.refreshBtnState();
} else { } else {
checkIsPlaying(); checkIsPlaying();
......
...@@ -182,6 +182,7 @@ export function delayCall(callback, second) { ...@@ -182,6 +182,7 @@ export function delayCall(callback, second) {
.call(() => { .call(() => {
callback && callback(); callback && callback();
}) })
.start();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment