How to correctly display video on the MindAR Target #375
Unanswered
arlifephoto
asked this question in
Q&A
Replies: 3 comments 5 replies
-
Hello! Please tell me, have you found a solution to this problem? |
Beta Was this translation helpful? Give feedback.
0 replies
-
https://hiukim.github.io/mind-ar-js-doc/examples/events-handling |
Beta Was this translation helpful? Give feedback.
0 replies
-
` <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.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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