How to correctly display video on the MindAR Target #375
Replies: 4 comments 5 replies
-
Hello! Please tell me, have you found a solution to this problem? |
Beta Was this translation helpful? Give feedback.
-
https://hiukim.github.io/mind-ar-js-doc/examples/events-handling |
Beta Was this translation helpful? Give feedback.
-
` <script src="https://aframe.io/releases/1.5.0/aframe.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/mind-ar@1.2.5/dist/mindar-image-aframe.prod.js"></script> <script> const show = () => { document.querySelector("#video").play(); }
you can replay me if you are getting any error. |
Beta Was this translation helpful? Give feedback.
-
Hello, i have nearly identical issue, but couldn't fix it. When I trigger on image target, the video pop up but doesnt play automaticly as I need, same for the background sound, i tried to convert video to gif and it's also doesnt play. Any suggestions? That's my HTML ` <title>KontiARApp</title>0+
That's my CSS `#loadingOverlay { #loadingOverlay.hidden { a-scene { That's my JS `
}); ` |
Beta Was this translation helpful? Give feedback.
-
Please help me. I can't get the video to display properly on the MindAR Target. It turns out that the video (and sound from the video) starts before the camera finds the target. How to make video start ONLY when camera finds target, and when camera loses target - video pauses. Also, I need it to be displayed correctly on Android and IOS.
Here's my code:
Beta Was this translation helpful? Give feedback.
All reactions