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 };
|
||||
|
@ -271,4 +271,4 @@ body {
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
object-position: 50% 50%;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user