add description and prevent video from openeing in full screen on IOS

This commit is contained in:
2024-11-14 21:22:05 +01:00
parent a8f0e95c82
commit 778f34098e
3 changed files with 4 additions and 3 deletions

View File

@ -116,7 +116,7 @@
<h2>Tom, tomoron</h2> <h2>Tom, tomoron</h2>
<p>Backend</p> <p>Backend</p>
<div class="info"> <div class="info">
<p>Tom est spécialisé en développement backend et travaille principalement avec Node.js et MongoDB.</p> <p>Tom led back-end development with Django, PostgreSQL, and Docker, creating a secure, scalable, and efficient backbone that seamlessly integrated with the front end.</p>
</div> </div>
</div> </div>
<div class="team-member"> <div class="team-member">

View File

@ -98,6 +98,7 @@ class Screen
video.loop = true; video.loop = true;
video.muted = true; video.muted = true;
video.crossOrigin = 'anonymous'; video.crossOrigin = 'anonymous';
video.setAttribute("playsinline", "");
video.addEventListener('loadedmetadata', () => { video.addEventListener('loadedmetadata', () => {
const texture = this.screen.material.map; const texture = this.screen.material.map;