收藏
回答

微信小游戏视频width与height调整后ios会有缩放动画,怎么取消掉

框架类型 问题类型 操作系统 工具版本
小游戏 需求 macOS 1.0
const video = wx.createVideo({
  src: "https://baikebcs.bdimg.com/baike-other/big-buck-bunny.mp4",
  width: windowWidth,
  height: windowHeight,
  loop: true,
  controls: false,
  showProgress: false,
  showProgressInControlMode: false,
  autoplay: true,
  showCenterPlayBtn: false,
  underGameView: true,
  enableProgressGesture: false,
  objectFit: "fill"
});
s上面的代码如果width为1 height为1,当调整到windowsize的时候ios平台会有一个从小达到的缩放放大效果,ide与安卓是没有的怎么去掉这个放大效果呢
回答关注问题邀请回答
收藏
登录 后发表内容