# Perspective video player with Axis network camera

**URL:** <https://forum.inductiveautomation.com/t/perspective-video-player-with-axis-network-camera/55967>\
**Category:** General Discussion\
**Created:** [February 10, 2022, 7:20am UTC](https://forum.inductiveautomation.com/t/perspective-video-player-with-axis-network-camera/55967 "2022-02-10T07:20:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![pat.stave1](https://avatars.discourse-cdn.com/v4/letter/p/f19dbf/32.png) [@pat.stave1](https://forum.inductiveautomation.com/u/pat.stave1)\
**Post date:** [February 10, 2022, 7:20am UTC](https://forum.inductiveautomation.com/t/perspective-video-player-with-axis-network-camera/55967/1 "2022-02-10T07:20:00Z")

</div>

How can i get the perspective video player component to display a live feed from an AXIS M2026-LE Mk II Network Camera?

The following URL works fine in Chrome browser, but will not show up in the video player component:  
[http://IP-ADRESS/axis-cgi/mjpg/video.cgi](http://IP-ADRESS/axis-cgi/mjpg/video.cgi)

The component displays the error “Error Loading Media: File not valid”.

The camera uses authentication with username and password. How can i pass this in the video player component?

---

<div class="post-metadata">

**Author:** ![dillon](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dillon/32/81537_2.png) [@dillon](https://forum.inductiveautomation.com/u/dillon)\
**Post date:** [February 10, 2022, 2:20pm UTC](https://forum.inductiveautomation.com/t/perspective-video-player-with-axis-network-camera/55967/2 "2022-02-10T14:20:10Z")

</div>

Try using an [Inline Frame component](https://docs.inductiveautomation.com/display/DOC81/Perspective+-+Inline+Frame) and setting the src to that url.

As for the auth, I couldn’t answer that. Sorry ☹

---

<div class="post-metadata">

**Author:** ![josborn](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@josborn](https://forum.inductiveautomation.com/u/josborn)\
**Post date:** [February 10, 2022, 5:13pm UTC](https://forum.inductiveautomation.com/t/perspective-video-player-with-axis-network-camera/55967/3 "2022-02-10T17:13:16Z")

</div>

Try `http://user:pass@IP-ADRESS/axis-cgi/mjpg/video.cgi`

---

<div class="post-metadata">

**Author:** ![scott.ashby](https://avatars.discourse-cdn.com/v4/letter/s/b9e5f3/32.png) [@scott.ashby](https://forum.inductiveautomation.com/u/scott.ashby)\
**Post date:** [March 26, 2023, 1:57am UTC](https://forum.inductiveautomation.com/t/perspective-video-player-with-axis-network-camera/55967/4 "2023-03-26T01:57:42Z")

</div>

Were you able to resolve this? I have the same issue currently with a list of axis cameras.

---

<div class="post-metadata">

**Author:** ![Ricardo\_Guillermo\_Re](https://avatars.discourse-cdn.com/v4/letter/r/958977/32.png) [@Ricardo\_Guillermo\_Re](https://forum.inductiveautomation.com/u/Ricardo_Guillermo_Re)\
**Post date:** [September 1, 2023, 7:52pm UTC](https://forum.inductiveautomation.com/t/perspective-video-player-with-axis-network-camera/55967/5 "2023-09-01T19:52:11Z")

</div>

that path, just is necessary to put it on the source component? and is that all? and do you get that path from your camera? or where do you know what you need to write there?

---

<div class="post-metadata">

**Author:** ![josborn](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@josborn](https://forum.inductiveautomation.com/u/josborn)\
**Post date:** [September 1, 2023, 10:43pm UTC](https://forum.inductiveautomation.com/t/perspective-video-player-with-axis-network-camera/55967/6 "2023-09-01T22:43:44Z")

</div>

Yes, the video player needs a URL for the stream. Unfortunately figuring out what URL your particular camera uses is not always straight forward. If the documentation has that information try that first otherwise head over to somewhere like [https://www.ispyconnect.com/camera/axis](https://www.ispyconnect.com/camera/axis) and see if you cannot find the correct URL.
