add description and prevent video from openeing in full screen on IOS
This commit is contained in:
@ -98,6 +98,7 @@ class Screen
|
||||
video.loop = true;
|
||||
video.muted = true;
|
||||
video.crossOrigin = 'anonymous';
|
||||
video.setAttribute("playsinline", "");
|
||||
|
||||
video.addEventListener('loadedmetadata', () => {
|
||||
const texture = this.screen.material.map;
|
||||
@ -161,4 +162,4 @@ class Screen
|
||||
|
||||
};
|
||||
|
||||
export { Screen };
|
||||
export { Screen };
|
||||
|
Reference in New Issue
Block a user