Skip to content

Play video in 3d scene #4955

Closed Answered by elalish
r0zbeh asked this question in Q&A
Nov 21, 2024 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Ah yes, it's muted by default. There is documentation here, but it's not the clearest. You want:

const videoTexture = mv.createVideoTexture(url);
videoTexture.source.element.muted = false;

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@elalish
Comment options

Answer selected by r0zbeh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #4954 on November 21, 2024 16:47.