I just learned that movie cannot be played in a web app via FolderItem or directly imported into the project.
If I have a XOJO cloud account, do I need to upload the movie to the the cloud, get it URL and put it into the the corresponding field for the Movie Player?
Are there alternative ways? I though of putting the movie to the Youtube and play it via the YouTube Player.
For some reason, the YouTube Player returns an error when I try to play a random movie from it.
That’s one way. You could use a WebFile to get a URL, but if you upload the file near the app, you could also use a direct URL, which would be infinitely more efficient for the app. For instance, if you put it next to the app and the app’s name was MyApplication, the URL might look like this:
http://12.34.56.78/MyApplication/movie.mp4
Some YouTube movies have restrictions on just being played anywhere.
Thank you for the advice. I tried to test playing movie via placing it next to the app. Since I do not have a server yet, I placed it into the MyApplication.debug folder and replaced the first part of the URL with “127.0.0.1”
Then I found a YouTube video produced by our university and tried playing it with the YouTubeMovie. It worked but all those YouTube controls are very distracting.
I need to find a way to play the movie via the WebMoviePlayer.
I am working on a EHR (Electronic Health Record) for medical school. I would like medical students to see a series of videos where occupational therapists are performing some tests on the patients. All content is simulated - no HIPPA protection is needed.
I am learning web app development as I go. This is my first one. I’ve created several desktop apps though.
I am just trying to see if I could make something useful for the school.
[quote=404175:@VALERIY KOZMENKO]Thank you for the advice. I tried to test playing movie via placing it next to the app. Since I do not have a server yet, I placed it into the MyApplication.debug folder and replaced the first part of the URL with “127.0.0.1”