1. can I load video or image use model-view? #1908
Replies: 9 comments
-
can video/Image show with model-view? |
Beta Was this translation helpful? Give feedback.
-
Can you be more specific? Generally |
Beta Was this translation helpful? Give feedback.
-
can I control the textrue of GLB model to achieve video play? Is model-viewer support? |
Beta Was this translation helpful? Give feedback.
-
No, glTF does not yet support video textures, so neither do we. |
Beta Was this translation helpful? Give feedback.
-
thx, how about add audio to model-viewer? can model-viewer support audio while glb model in ar mode?how can I achieve this? |
Beta Was this translation helpful? Give feedback.
-
Several model-viewer users have integrated audio; there's nothing special in our API for it. Simply play and pause your audio when you play and pause the animation. Of course, like with most AR customization, it will only work in webXR mode. |
Beta Was this translation helpful? Give feedback.
-
@elalish how to take local glTF file for model viewer src. Visited the model editor legacy site but didn't understood how to.
How to say use src to local file with Dracodecoder support |
Beta Was this translation helpful? Give feedback.
-
Draco support is automatic. I'm not sure what you mean by local; the |
Beta Was this translation helpful? Give feedback.
-
@elalish should it be ?
Here's when it opens in browser after loading all necessary scripts, then after input file is selected from local directory, the glb file doesn't loading as src to model viewer. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Please provide a detailed description of the bug, how to reproduce it, and the
expected behavior. Always include a code snippet, screenshot, any errors
reported in the console, and the model to help us understand and fix the
problem.
Live Demo
https://glitch.com/edit/#!/model-viewer
Version
Browser Affected
OS
Beta Was this translation helpful? Give feedback.
All reactions