WebAR playing video

0 votes
asked Jul 9, 2018 by joeliatskyphoto (120 points)
I have 2 questions:

1. Can WebAR play video over the image target after recognition?

2. Any example to show how to play video for WebAR?

Thanks.

1 Answer

0 votes
answered Jul 9, 2018 by albert52 (31,850 points)
1)Sure.

2) no sample.

There are two ways in load Video:

1) please use URL directly: you need to use the web video tag to "override" on image, and fill in your URL address in SRC of <video>.

2) use Meta: the way you should use the Meta file, and after you add URL to the meta file, you need to use the videotexture method of three.js to load video similar to the loadObject () method of load model. In short, the use of WebAR development requires knowledge of Three.js.
Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.
...