Commit 616930ae authored by liujiangnan's avatar liujiangnan

feat

parent 325a3828
{
"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
......@@ -146,8 +146,8 @@ cc.Class({
cc.debug.setDisplayStats(false);
this.initSize();
const bgNode = cc.find('Canvas/bg');
bgNode.scale = this._mapScaleMax;
cc.find('Canvas/bg').scale = this._mapScaleMax;
cc.find('Canvas/video_node/bg').scale = this._mapScaleMax;
this._isReadyToPlay = false;
window['vv'] = this;
......@@ -389,9 +389,11 @@ cc.Class({
play(){
cc.find(`Canvas/Controls/ProgressBar/text_tips_left`).active = false;
cc.find(`Canvas/bg`).active = false;
cc.find(`Canvas/bg_empty`).active = false;
cc.find(`Canvas/bg_video_shadow`).active = true;
this.videoPlayer.node.active = true;
cc.find(`Canvas/video_node`).active = true;
// this.videoPlayer.node.active = true;
this.videoPlayer.play();
this.triggerInteractive()
},
......
......@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 2560,
"height": 1440,
"width": 1280,
"height": 720,
"platformSettings": {},
"subMetas": {
"bg": {
......
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