Is the Xprotect Web Client camera viewer code available anywhere?

Hi,

we’re in the process of coding a web interface to view the cameras in our system. I’m wondering if the code for the camera viewer when accessing the Xprotect Web Client on port 8081 can be found anywhere? Or is this viewer code proprietary to Milestone. The camera viewer I am referring to is the one in the image below. Thanks!

You can not find the code for that video player@Daniel Gaumond​. What you can find is the backbone of it, located on the XPMobileSDK folder into the WebClient. The full path to the file is :

XPMobileSDK/Samples/lib/js/application.js

To see it in action you can check the Video sample on the Samples directory in XPMobileSDK. First you need to rename the file videoSample.html.download to something else then load the url:

http://localhost:8081/XPMobileSDK/Samples/Video/videoSample.html

When you finish testing/investigating the sample please rename back the file videoSample.html.download to exact this name. This is done for a security reasons.

We are constantly trying to increase the number of samples that we are providing so check again to find more samples on the next release of WebClient.

I hope that helped.

Thanks a bunch Teodor,

So I understand I can start from the sample and build upon it.

Thanks for providing me with the steps to test the sample, I was struggling to get it working.

Thank you for the feedback @Daniel Gaumond​ . Based on that we found out that it is not quite clear documented how to run the samples in the XPMobileSDK and we will work on this on the upcoming release.