Closed Akhil-coditas closed 1 year ago
so i have feature when on a press of button i need to pause the video that is being rendered on .glb also rewind and resume it.
this is how im rendering the video texture
and regarding pausing the video
var modelViewer = document.querySelector("#model-viewer"); modelViewer.pause();
also used
const sceneSym = Object.getOwnPropertySymbols(modelViewer).find(x => x.description === "scene"); const scene = modelViewer[sceneSym] console.log(scene);
but can i pause video using scene ? if yes can you provide me a snippet if possible
but it doesn't work. is there a way i can get access to three js being used in model viewer then pause it ? or any other recommended way?
so i have feature when on a press of button i need to pause the video that is being rendered on .glb also rewind and resume it.
this is how im rendering the video texture
and regarding pausing the video
also used
but can i pause video using scene ? if yes can you provide me a snippet if possible
but it doesn't work. is there a way i can get access to three js being used in model viewer then pause it ? or any other recommended way?