Page 1 of 1

API Question - isComplete

Posted: Mon Feb 27, 2017 9:24 am
by PPotthoff
Hello,

i am using Object2VR.

I want to check via JS if my obj is complete. I already checked the API for this, but I always get the following error message: obj.isComplete() is not a function.

So, do I have the wrong API or is it just a documentation failure?

Thank you so far.

Cheerio,
Patrick

Re: API Question - isComplete

Posted: Tue Feb 28, 2017 10:05 am
by thomas
Hello Patrick,

at the moment this is not supported in Object2VR. You can check

Code: Select all

obj.getPercentLoaded()
if it hits 1.0 everything is loaded.

Re: API Question - isComplete

Posted: Tue Feb 28, 2017 12:07 pm
by PPotthoff
Hey Thomas,

this worked fine for me. Thank you very much! :)
I was just wondered why isCompleted do not work because i got it from the Documentation.

Anyway, thank you!

Cheerio,
Patrick

Re: API Question - isComplete

Posted: Tue Mar 07, 2017 9:25 am
by thomas
Hello Patrick,

this is an oversight on our end. The function exists in Flash but is missing the HTML5 player.

Re: API Question - isComplete

Posted: Tue Mar 07, 2017 5:07 pm
by PPotthoff
Hey Thomas,

okay, thank you. Topic closed! :)

Cheerio,
Patrick