# Refresh Perspective Iframe for IP Camera

**URL:** <https://forum.inductiveautomation.com/t/refresh-perspective-iframe-for-ip-camera/33790>\
**Category:** Ignition\
**Tags:** ignition80, perspective\
**Created:** [April 8, 2020, 4:36pm UTC](https://forum.inductiveautomation.com/t/refresh-perspective-iframe-for-ip-camera/33790 "2020-04-08T16:36:01Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jshannon](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jshannon/32/81937_2.png) [@jshannon](https://forum.inductiveautomation.com/u/jshannon)\
**Post date:** [April 8, 2020, 4:36pm UTC](https://forum.inductiveautomation.com/t/refresh-perspective-iframe-for-ip-camera/33790/1 "2020-04-08T16:36:02Z")

</div>

Hope everyone is staying safe.

I have an ip camera that I am connected to in perspective using IFrame.  
It works great except it isnt live. I need it to refresh or maybe just use a different component to look at it?  
I use the same url in a vision project using the ip camera component and of course that is live.  
I am grabbing the jpeg stills.

Any help is appreciated

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [April 8, 2020, 5:02pm UTC](https://forum.inductiveautomation.com/t/refresh-perspective-iframe-for-ip-camera/33790/2 "2020-04-08T17:02:19Z")

</div>

Try adding a nonsense query parameter that’s bound to `now(<poll rate>)`; something like:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/a/aa3e501408afe9de0a7bce4ede0eaf7a3ef665cb.png)

---

<div class="post-metadata">

**Author:** ![jshannon](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jshannon/32/81937_2.png) [@jshannon](https://forum.inductiveautomation.com/u/jshannon)\
**Post date:** [April 8, 2020, 5:22pm UTC](https://forum.inductiveautomation.com/t/refresh-perspective-iframe-for-ip-camera/33790/3 "2020-04-08T17:22:38Z")

</div>

When I do that it adds the time to the url and gives me an "Auth Failed"

Original URL: [http://redacted:8088/system/urlproxy?url=http://192.168.4.4/cgi-bin/video.cgi?mode=1%26auth\_64=YWRtaW46MTIzNA==](http://redacted:8088/system/urlproxy?url=http://192.168.4.4/cgi-bin/video.cgi?mode=1%26auth_64=YWRtaW46MTIzNA==)

With poll added: [http://redacted:8088/system/urlproxy?url=http://192.168.4.4/cgi-bin/video.cgi?mode=1%26auth\_64=YWRtaW46MTIzNA==1586366523477](http://redacted:8088/system/urlproxy?url=http://192.168.4.4/cgi-bin/video.cgi?mode=1%26auth_64=YWRtaW46MTIzNA==1586366523477)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [April 8, 2020, 5:27pm UTC](https://forum.inductiveautomation.com/t/refresh-perspective-iframe-for-ip-camera/33790/4 "2020-04-08T17:27:41Z")

</div>

Separate your URL parameters; it's being double-encoded to go through the Vision URL proxy, but you want your output to be something like:  
`http://redacted:8088/system/urlproxy?url=http://192.168.4.4/cgi-bin/video.cgi?mode=1%26auth_64=YWRtaW46MTIzNA==%26t=1586366523477`

---

<div class="post-metadata">

**Author:** ![jshannon](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jshannon/32/81937_2.png) [@jshannon](https://forum.inductiveautomation.com/u/jshannon)\
**Post date:** [April 8, 2020, 5:37pm UTC](https://forum.inductiveautomation.com/t/refresh-perspective-iframe-for-ip-camera/33790/5 "2020-04-08T17:37:59Z")

</div>

Oh man, phenominal!  
Thank you very much for your help.  
😀

---

<div class="post-metadata">

**Author:** ![gnguyen](https://avatars.discourse-cdn.com/v4/letter/g/41988e/32.png) [@gnguyen](https://forum.inductiveautomation.com/u/gnguyen)\
**Post date:** [August 4, 2020, 10:28pm UTC](https://forum.inductiveautomation.com/t/refresh-perspective-iframe-for-ip-camera/33790/6 "2020-08-04T22:28:19Z")

</div>

Hi jshannon,  
Can you tell us what Ip camera you’re using?  
Tia,

---

<div class="post-metadata">

**Author:** ![jshannon](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jshannon/32/81937_2.png) [@jshannon](https://forum.inductiveautomation.com/u/jshannon)\
**Post date:** [August 4, 2020, 11:19pm UTC](https://forum.inductiveautomation.com/t/refresh-perspective-iframe-for-ip-camera/33790/7 "2020-08-04T23:19:18Z")

</div>

Its a Speco O3FB68

---

<div class="post-metadata">

**Author:** ![gnguyen](https://avatars.discourse-cdn.com/v4/letter/g/41988e/32.png) [@gnguyen](https://forum.inductiveautomation.com/u/gnguyen)\
**Post date:** [December 6, 2020, 12:40am UTC](https://forum.inductiveautomation.com/t/refresh-perspective-iframe-for-ip-camera/33790/8 "2020-12-06T00:40:53Z")

</div>

> [@jshannon](#):
>
> Speco O3FB68

Never too late to say thanks !

---

<div class="post-metadata">

**Author:** ![David.Bell](https://avatars.discourse-cdn.com/v4/letter/d/34f0e0/32.png) [@David.Bell](https://forum.inductiveautomation.com/u/David.Bell)\
**Post date:** [December 22, 2023, 2:26pm UTC](https://forum.inductiveautomation.com/t/refresh-perspective-iframe-for-ip-camera/33790/9 "2023-12-22T14:26:09Z")

</div>

This is an old post, but I just used this to get "live" images on my ReoLink RLC-510A!!! Very nice PGriffith!!
