# Perspective video Player component

**URL:** <https://forum.inductiveautomation.com/t/perspective-video-player-component/44499>\
**Category:** Ignition\
**Created:** [March 15, 2021, 11:00pm UTC](https://forum.inductiveautomation.com/t/perspective-video-player-component/44499 "2021-03-15T23:00:33Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![pranjali.ramtekkar](https://avatars.discourse-cdn.com/v4/letter/p/6f9a4e/32.png) [@pranjali.ramtekkar](https://forum.inductiveautomation.com/u/pranjali.ramtekkar)\
**Post date:** [March 15, 2021, 11:00pm UTC](https://forum.inductiveautomation.com/t/perspective-video-player-component/44499/1 "2021-03-15T23:00:34Z")

</div>

reading at the older post. I believe the video player component in perspective cannot make the rstp:// link  
work to display the camera .

I used [amherst.com](http://amherst.com) and got the Http:// url for the same camera

[http://facttech:Automation@10.10.17.XXX/cgi-bin/mjpg/video.cgi?channel=0&subtype=1](http://facttech:Automation@10.10.17.XXX/cgi-bin/mjpg/video.cgi?channel=0&subtype=1)

(I deleted the last 3 digits of my ip address here). i can view the camera with the above url on my web browser. But when I enter the same url in the source prop of the video component , the live feed is errored out.

Can you please let me know if there is some mistake I am doing it in a process. or if there is anyother way I can access the live feed.

 ![img1](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/2/02ad4d6a3141dea8fbcad8e9067a1aef3e4de95b.jpeg) ![img 2](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/f/df6520690fed9fc6d1d91b85e0bbfbfb2ce34797.png) ![img3](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/8/68c545cf312b70b585fd96dd9c06ee40042a55c4.png)

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [March 16, 2021, 1:00am UTC](https://forum.inductiveautomation.com/t/perspective-video-player-component/44499/2 "2021-03-16T01:00:13Z")

</div>

What about in an actual session? If I remember correctly, the Designer is not able to play videos, so the real spot you should check is the session.

---

<div class="post-metadata">

**Author:** ![witman](https://avatars.discourse-cdn.com/v4/letter/w/d2c977/32.png) [@witman](https://forum.inductiveautomation.com/u/witman)\
**Post date:** [March 16, 2021, 3:01am UTC](https://forum.inductiveautomation.com/t/perspective-video-player-component/44499/3 "2021-03-16T03:01:59Z")

</div>

It’s possible the session can play things the Designer can’t, but for the apps I’ve done so far the live video streams do display in Designer as well.

---

<div class="post-metadata">

**Author:** ![pranjali.ramtekkar](https://avatars.discourse-cdn.com/v4/letter/p/6f9a4e/32.png) [@pranjali.ramtekkar](https://forum.inductiveautomation.com/u/pranjali.ramtekkar)\
**Post date:** [March 16, 2021, 3:55pm UTC](https://forum.inductiveautomation.com/t/perspective-video-player-component/44499/4 "2021-03-16T15:55:37Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/1/c15adc3e2e3f98bdc38477f8fb92b94347229575.png)

No, I don’t see it running either on session or on designer.

---

<div class="post-metadata">

**Author:** ![pranjali.ramtekkar](https://avatars.discourse-cdn.com/v4/letter/p/6f9a4e/32.png) [@pranjali.ramtekkar](https://forum.inductiveautomation.com/u/pranjali.ramtekkar)\
**Post date:** [March 16, 2021, 6:30pm UTC](https://forum.inductiveautomation.com/t/perspective-video-player-component/44499/5 "2021-03-16T18:30:49Z")

</div>

I got the video running on session now. But when I enter a username and password in the url . live streaming doesnt work. [http://username:password@10.10.17.XXX/cgi-bin/mjpg/video.cgi?channel=1&subtype=1](http://username:password@10.10.17.XXX/cgi-bin/mjpg/video.cgi?channel=1&subtype=1)

the reason I need the username and password working is because when I open another browser the live stream of the camera in the session says “error loading media”.But it works with [http://10.10.17.XXX/cgi-bin/mjpg/video.cgi?channel=1&subtype=1](http://10.10.17.XXX/cgi-bin/mjpg/video.cgi?channel=1&subtype=1).

Do you have any solution to pass this authentication

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [March 16, 2021, 6:36pm UTC](https://forum.inductiveautomation.com/t/perspective-video-player-component/44499/6 "2021-03-16T18:36:23Z")

</div>

> [@pranjali.ramtekkar](#):
>
> But when I enter a username and password in the url . live streaming doesnt work. [http://username:password@10.10.17.XXX/cgi-bin/mjpg/video.cgi?channel=1&subtype=1](http://username:password@10.10.17.XXX/cgi-bin/mjpg/video.cgi?channel=1&subtype=1)

Have you tried using https instead of http?

---

<div class="post-metadata">

**Author:** ![pranjali.ramtekkar](https://avatars.discourse-cdn.com/v4/letter/p/6f9a4e/32.png) [@pranjali.ramtekkar](https://forum.inductiveautomation.com/u/pranjali.ramtekkar)\
**Post date:** [March 16, 2021, 7:57pm UTC](https://forum.inductiveautomation.com/t/perspective-video-player-component/44499/7 "2021-03-16T19:57:35Z")

</div>

Yes I tried https.  
I tried entering the port after the ip address 10.10.17.XXX:80

Nothing works

I tried HTTP binding. But getting error HTTP/1.1. 401 unauthorized error

---

<div class="post-metadata">

**Author:** ![Ryan\_Davis](https://avatars.discourse-cdn.com/v4/letter/r/b5a626/32.png) [@Ryan\_Davis](https://forum.inductiveautomation.com/u/Ryan_Davis)\
**Post date:** [December 15, 2022, 12:21pm UTC](https://forum.inductiveautomation.com/t/perspective-video-player-component/44499/8 "2022-12-15T12:21:02Z")

</div>

I am experiencing the same issue... the source path works in a web browser (showing live stream), but not in a Perspective session in the Video Player. It just shows Error Loading Media: File not valid.
