View on image source

Can a Image source in a View be a camera video source from an IP camera on the same network?
Hoping to access remotely and watch a live feed.

Hi landersson,

I think this post should help you with setting up your device:

let me know if you have any questions
-Tim

I tried option 1 but I’m getting a Javascript syntax error. here is my code:
var uid = “UID_1540579628175”;
var yourCameraIp = “10.10.10.22”;
var yourCameraStream = “/mjpg/video.mjpg”
var url = “”;

if(window.location.host.indexOf(‘m2web.talk2m.com’) != -1){
url = “…/…/proxy/” + yourCameraIp + yourCameraStream;
}else{
url = yourCameraIp + yourCameraStream;
}

$(’#’ + uid).attr(‘xlink:href’, url);

I figured it out. I was missing a semicolon and a http://

1 Like