Commit 84c54d2f authored by liujiangnan's avatar liujiangnan

debug

parent a85f11af
......@@ -176,7 +176,9 @@ cc.Class({
});
this.videoPlayer.node.on('clicked', () => {
console.log('clicked');
if (this.isVideoFull) {
});
this.videoPlayer.node.on('touchstart', () => {
if (this.isVideoFull) {
this.videoPlayer.stayOnBottom = true;
cc.find(`Canvas/Controls`).active = true;
if (this.time1) {
......@@ -187,7 +189,7 @@ cc.Class({
cc.find(`Canvas/Controls`).active = false;
}, 6000);
}
});
})
this.videoPlayer.node.on('playing', () => {
console.log('playing');
this.durationLabel.string = this.formatTime(this.videoPlayer.getDuration());
......@@ -277,11 +279,11 @@ cc.Class({
this.updateBarByPos(newX);
// console.log("ProgressBar TOUCH_START", newX);
});
this.videoPlayer.node.off(cc.Node.EventType.TOUCH_START);
this.videoPlayer.node.on(cc.Node.EventType.TOUCH_START, (e) => {
console.log("screen TOUCH_START");
this.triggerInteractive()
});
// this.videoPlayer.node.off(cc.Node.EventType.TOUCH_START);
// this.videoPlayer.node.on(cc.Node.EventType.TOUCH_START, (e) => {
// console.log("screen TOUCH_START");
// this.triggerInteractive()
// });
const pgBar = this.ProgressBar;
this.tw = new (function(){
this._tw = cc.tween(pgBar).delay(3).to(.6, {
......
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