mxreality.js
mxreality.js copied to clipboard
设置播放模式为横屏iphone会出现两个video类似vr模式 是怎么回事儿
设置播放模式为横屏iphone会出现两个video类似vr模式 是怎么回事儿
那个是vr眼镜模式
如何变成一个video?
把mxreality.js文件里的这段分支去掉应该就行了
if ((AVR.isMobileDevice() && AVR.isCrossScreen())) {
that.cameraTexture.repeat.x = width / (2 * that.video.videoWidth);
that.effect.setSize(width, height);
that.effect.render(that.scene, that.camera);
} else {
请问下 为何我把这代码删了还是 出现两个video类似vr模式呢