Hello I am currently working on an AR application in PlayCanvas which also needs to run on iOS. I am also using videotextures to display a video with AR (a character holding up a video). Now once I load the video, the Camera on iOS devices zooms in for some reason. I had this with another project as well and couldn’t fix it. On the Tablet it’s not very significant, but on IPhones the zoom is really significant.
I had this problem before, but then it could be ignored because it wasn’t that bad, but with my new application it is…
Has anyone got an idea why this happens?
(Also I hate iOS with videos on websites… their stupid policy of every video and audio needing immediate input of the user in order to play is really frustrating…)
EDIT:
These are the video Attributes I set:
video.setAttribute("id", this.elementID);
video.setAttribute('muted', '');
video.setAttribute("type", "video/mp4");
video.setAttribute("style", "visibility: hidden");
video.setAttribute("preload", "auto");
video.setAttribute('playsinline', '');
video.setAttribute('crossOrigin', "anonymous");