# Read the full path of the large video file to show in Video Player

**URL:** <https://forum.inductiveautomation.com/t/read-the-full-path-of-the-large-video-file-to-show-in-video-player/94469>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [August 11, 2024, 4:47am UTC](https://forum.inductiveautomation.com/t/read-the-full-path-of-the-large-video-file-to-show-in-video-player/94469 "2024-08-11T04:47:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mehrdad\_Telli](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mehrdad_telli/32/77763_2.png) [@Mehrdad\_Telli](https://forum.inductiveautomation.com/u/Mehrdad_Telli)\
**Post date:** [August 11, 2024, 4:47am UTC](https://forum.inductiveautomation.com/t/read-the-full-path-of-the-large-video-file-to-show-in-video-player/94469/1 "2024-08-11T04:47:14Z")

</div>

FileUpload does not return full path of the file and also file must be smaller than 10Mb..  
This is what i want to do, supervisor upload the video file larger than 10Mb then this file uploaded to server and client could see the video with Video Player.  
How to access the full path of the file with the choose file dialog box?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [August 11, 2024, 12:07pm UTC](https://forum.inductiveautomation.com/t/read-the-full-path-of-the-large-video-file-to-show-in-video-player/94469/2 "2024-08-11T12:07:16Z")

</div>

> [@Mehrdad\_Telli](#):
>
> file larger than 10Mb

The max upload size is configurable. But beware, file uploads must fit in gateway memory briefly during upload, so you should not set this to be enormous.

> [@Mehrdad\_Telli](#):
>
> How to access the full path of the file

You cannot. Browsers do not supply this with a file upload.

---

<div class="post-metadata">

**Author:** ![Mehrdad\_Telli](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mehrdad_telli/32/77763_2.png) [@Mehrdad\_Telli](https://forum.inductiveautomation.com/u/Mehrdad_Telli)\
**Post date:** [August 11, 2024, 12:53pm UTC](https://forum.inductiveautomation.com/t/read-the-full-path-of-the-large-video-file-to-show-in-video-player/94469/3 "2024-08-11T12:53:10Z")

</div>

Thanks for your reply, how should it be done for high capacity movies?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [August 11, 2024, 1:31pm UTC](https://forum.inductiveautomation.com/t/read-the-full-path-of-the-large-video-file-to-show-in-video-player/94469/4 "2024-08-11T13:31:53Z")

</div>

I recommend using a video segmenter (I like ffmpeg) to break your videos into chunks of a few seconds at a time. The segmenter will produce a "master" file that has the individual pieces and their sizes/lengths encoded. The master file can be delivered to a browser's video player via source URL for it to then call the little pieces as needed. (The formats for such are standardized--all the major internet video hosting sites do this.)

You would upload all of the little pieces to your server (or DB, if using my Blob Server module), then adjust the master file to use the actual URLs of each piece. And finally upload that corrected master file. Point your Perspective video player at the URL of the master file.

(Perspective file upload may not be very efficient for this task. Consider some kind of direct transfer from segmenter location to DB or file server.)

---

<div class="post-metadata">

**Author:** ![Mehrdad\_Telli](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mehrdad_telli/32/77763_2.png) [@Mehrdad\_Telli](https://forum.inductiveautomation.com/u/Mehrdad_Telli)\
**Post date:** [August 11, 2024, 1:53pm UTC](https://forum.inductiveautomation.com/t/read-the-full-path-of-the-large-video-file-to-show-in-video-player/94469/5 "2024-08-11T13:53:01Z")

</div>

Websites use download hosts to reduce costs,  
and storing high-volume videos in the database is not the right method because of the consumption of database resources,  
taking the full path of large files and storing them in the download server is a better method,  
considering Take the way you said, if several people want to watch the videos, as a result, a lot of load will be placed on the main server.  
Browser access to local files is a simple matter that is supported in all browsers, but why is it not available in Ignition?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [August 11, 2024, 1:58pm UTC](https://forum.inductiveautomation.com/t/read-the-full-path-of-the-large-video-file-to-show-in-video-player/94469/6 "2024-08-11T13:58:46Z")

</div>

> [@Mehrdad\_Telli](#):
>
> Browser access to local files is a simple matter that is supported in all browsers

No, it is not. It is only supported when the main URL of a page is also a local file. Web pages from a regular webserver (or Ignition) cannot supply `file://` URLs to browsers.

This is malware prevention 101, and is totally outside Ignition's control.

> [@Mehrdad\_Telli](#):
>
> consumption of database resources

Uhm, you should test this statement. Databases are **really** good at handling modest-sized blobs.

> [@Mehrdad\_Telli](#):
>
> taking the full path of large files and storing them in the download server is a better method

Strongly disagree. Youtube and similar sites **do not** store single large video files. (Totally independent of the use of content distribution network servers.) They are always segmented for efficient retrieval, particularly when the video player component can skip around to different points in the video under user control.
