Update video player to enable sound by default
Modify VideoPage.tsx to remove the 'muted=0' parameter from the iframe source, allowing autoplay with sound. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 344ec1e0-1186-4058-bbff-2e9619a7b1e0 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/344ec1e0-1186-4058-bbff-2e9619a7b1e0/FgaI1Sc
This commit is contained in:
parent
4b478e6e40
commit
dbf70f9e2f
BIN
attached_assets/image_1756594242095.png
Normal file
BIN
attached_assets/image_1756594242095.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 168 KiB |
@ -433,7 +433,7 @@ export default function VideoPage() {
|
||||
)}
|
||||
{currentVideo.videoUrlIframe ? (
|
||||
<iframe
|
||||
src={`${currentVideo.videoUrlIframe}${currentVideo.videoUrlIframe.includes('?') ? '&' : '?'}autoplay=1&muted=0`}
|
||||
src={`${currentVideo.videoUrlIframe}${currentVideo.videoUrlIframe.includes('?') ? '&' : '?'}autoplay=1`}
|
||||
className="absolute inset-0 w-full h-full"
|
||||
frameBorder="0"
|
||||
allowFullScreen
|
||||
|
||||
Loading…
Reference in New Issue
Block a user