Enhance CORS configuration in docker-compose.yml and update video element crossorigin attribute in index.html

This commit is contained in:
2025-12-18 18:16:50 -05:00
parent a537451474
commit e0779fd76f
3 changed files with 6 additions and 4 deletions

View File

@@ -8,7 +8,7 @@
</head>
<body>
<div id="app">
<video id="video" style="width: 100vw;height: 100vh;background-color: black;" crossorigin="*" autoplay muted playsinline></video>
<video id="video" style="width: 100vw;height: 100vh;background-color: black;" crossorigin="anonymous" autoplay muted playsinline></video>
<button id="unmute-btn" class="unmute-button">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M11 5L6 9H2v6h4l5 4V5z"></path>