Skip to content

Commit

Permalink
修复视频图层未播放
Browse files Browse the repository at this point in the history
  • Loading branch information
xilanhuaweidapao committed Jan 19, 2024
1 parent 9df7a28 commit a0bf585
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mapboxgl/overlay/VideoLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class VideoLayer extends mapboxgl.Evented {
this.video.one('canplay', () => {
setTimeout(() => {
map.getSource(this.layerId).play();
}, 1000);
}, 1500);
});
}

Expand Down

0 comments on commit a0bf585

Please sign in to comment.