How to stream videos in Mendix from resource folder

I wanted to stream the videos which are in resource folder of a Medix App folder explorer(locally),  in my Mendix web application. I tried to upload the video in file management widget and try to pick it up in Mendix video Player but its not working. If I provide file path directly into video player its showing error in the app that file not found.
1 answers

Hi Rohit,


You can’t use the resource folder and the video widget together. The video widget only plays videos from external url’s (Youtube, vimeo etc). See docs page 


You could upload the video into a File Document entity, then use the Javascript action getFileDocumentUrl  from the Native file documents module ( ) and provide this URL to the video Player widget.


Good luck!


- Ryan