Your comments

Yes, this feature requires the Platinum plan.

The function returns the actual audio object while playing - so you can access the actual audio data in realtime. 

Hello Gurpreet - 

Yes - pls see 'getAudioObject' API function in the api documentation.

and API example here - 

https://sitepal.com/api/examples/getAudioObject.html

Hope this helps,

Regards,

Gil

Hello Mustafa,

As we were never able to recreate the issue directly & have just published a source code example in NextJS that does not seem to suffer from this problem, we're considering the issue closed. 

If you still encounter a problem - please send us a note to support@sitepal.com and we will look into it.

Regards,

Gil

The SitePal Team

Hello Mustafa,

Can you check and advise whether you still encounter the problem when running the code from our new nextJS example? 

Thnk you,

Gil

Hello Mustafa - 

We've put together a NextJS technical example, which includes full source code.


The example can be found here -

https://sitepal.com/api/examples/nextjs/index.html

(there is a download source code button in the example)

Please download the example sources and build it out.

Note: As you do - make sure you replace our embedded avatar with your own so that it will work on your licensed domains.

I hope this is helpful to you and other NextJS developers

Regards,

Gil

Hi Gurpreet - 

Please send a note to our support team at support@sitepal.com and tell them you have questions for me - and they will forward your note so we can be in direct contact.

Regards

Gil

Hello Gurpreet!

For some but not all error situations you can see meaningful information in the console. 

Regarding the issue you report with React JS - do you see the same problem with our technical example when navigating between pages?

https://sitepal.com/api/examples/react/index.html

If not, then please look closely to see if you can identify the differences between your implementation and our technical example. Full source code is available.

If you cannot, please contact our support & share with us a simple example of your own that demonstrates the problem. We would need the source code for your example so our engineering can build it and advise.

Regarding your question about interrupt mode - normally interrupt mode should be set in the vh_sceneLoaded callback. But you can certainly switch back and forth between interrupt mode & queue mode at anytime after the Scene is loaded.

There is no way to check the mode - so your best bet is to remember the mode in a status parameter of your own. Thedefault mode is 'queue' - and anytime you modify the mode you would want to update your status parameter. Bear in mind that the status attributes (including interrupt mode) are Scene specific. So if you are loading different Scenes in different pages, you would need to update the status on each as needed to support your logic.

Hope this helps - pls let me know if I can further advise.

Best regards,

Gil

The SitePal Team