Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

设置播放模式为横屏iphone会出现两个video类似vr模式 是怎么回事儿 #80

Open
LiLongFei0 opened this issue Jan 9, 2021 · 4 comments

Comments

@LiLongFei0
Copy link

设置播放模式为横屏iphone会出现两个video类似vr模式 是怎么回事儿

@wmlgl
Copy link

wmlgl commented Mar 31, 2021

那个是vr眼镜模式

@zihao114
Copy link

如何变成一个video?

@wmlgl
Copy link

wmlgl commented May 11, 2021

把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 {

@luolxb
Copy link

luolxb commented Sep 19, 2021

请问下 为何我把这代码删了还是 出现两个video类似vr模式呢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants