Commit fc3011da authored by liujiangnan's avatar liujiangnan

feat: 修改素材

parent 394865df
......@@ -157,9 +157,6 @@ cc.Class({
this.videoPlayer.node.on('ready-to-play', () => {
console.log('ready-to-play');
this.playButton.active = true;
});
this.videoPlayer.node.on('meta-loaded', () => {
console.log('meta-loaded');
cc.find(`Canvas/bg_video_shadow`).active = false;
cc.find(`Canvas/loading`).active = false;
this.durationLabel.string = this.formatTime(this.videoPlayer.getDuration());
......@@ -169,6 +166,9 @@ cc.Class({
// this.videoPlayer.resume();
this.play();
});
this.videoPlayer.node.on('meta-loaded', () => {
console.log('meta-loaded');
});
this.videoPlayer.node.on('clicked', () => {
console.log('clicked');
if (this.isVideoFull) {
......
assets/dg_video/Texture/video/process.png

251 Bytes | W: | H:

assets/dg_video/Texture/video/process.png

1.57 KB | W: | H:

assets/dg_video/Texture/video/process.png
assets/dg_video/Texture/video/process.png
assets/dg_video/Texture/video/process.png
assets/dg_video/Texture/video/process.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -7,7 +7,7 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 730,
"width": 789,
"height": 9,
"platformSettings": {},
"subMetas": {
......
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