How to stream videos in Mendix from resource folder

0
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.
asked
1 answers
0

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 https://docs.mendix.com/appstore/widgets/video-player/ 

 

You could upload the video into a File Document entity, then use the Javascript action getFileDocumentUrl  from the Native file documents module ( https://marketplace.mendix.com/link/component/114252 ) and provide this URL to the video Player widget.

 

Good luck!

 

- Ryan

answered