Developers

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
lotusweb
Visitor

How can I load video file from outside of the public_html?

I have video files stored outside the public_html folder for security purposes.
How can I load video file from outside of the public_html folder?

I'm using XML it code like this. but this code is not work on my ROKU.

***********************************
<item sdImg="/home/~fuji/fci.png" hdImg="/home/~fuji/fci.png">
<title>Iron Chef</title>
<contentId>10001</contentId>
<contentType>Talk</contentType>
<contentQuality>SD</contentQuality>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>SD</streamQuality>
<streamBitrate>1500</streamBitrate>
<streamUrl>/home/~fuji/DieHard.mp4</streamUrl>
</media>
<synopsis>video description</synopsis>
<genres>Clip</genres>
<runtime>1260</runtime>
</item>
***********************************
Tags (1)
0 Kudos
Community is Being Upgraded!

We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 19th and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

We're sorry for this disruption — we’re excited to share what’s next!

For support, visit support.roku.com.