Page 5 of 11

How to view videos and photos stored in the files database

Posted: Mon Sep 11, 2017 8:38 pm
by redwhiteblue4free

without adding JS is not working Image


How to view videos and photos stored in the files database

Posted: Tue Sep 12, 2017 7:43 pm
by redwhiteblue4free

is this a difficult thing to do? still no solution

thanks


How to view videos and photos stored in the files database

Posted: Wed Sep 13, 2017 4:00 pm
by Serhii Kulibaba

Please add the real type value instead of the link to the video file. E.g. for mov files it has to be "video/mov"

https://developer.mozilla.org/en-US/d...


How to view videos and photos stored in the files database

Posted: Thu Sep 14, 2017 1:39 am
by redwhiteblue4free

not working

i just want to display the list of video in the database, user can upload their video form mobile or pc. video format may be different, dont have to be mov.

what is the solution for displaying the list of videos in database? is it very difficult to do?

thanks


How to view videos and photos stored in the files database

Posted: Thu Sep 14, 2017 5:09 pm
by Serhii Kulibaba

You can set the type value, according to the file extension. But you have to set it. Without that property, the video won't work.


How to view videos and photos stored in the files database

Posted: Thu Sep 14, 2017 6:37 pm
by redwhiteblue4free

can u show me how to set it? do i have to add any JS and where? like this?
Image

this not working, can u show me a working solution on how to display the list of videos that are in the database. do i create a list service to do that?

what if user upload video other then mov format, how do i set multiply format?

thanks


How to view videos and photos stored in the files database

Posted: Fri Sep 15, 2017 3:58 pm
by Serhii Kulibaba

The mapping should be like:

Image

And the JS code on the mapping file-type should be:

prevar fileExtension = value.substring(value.lastIndexOf(".")+ 1).toLowerCase();
return "video/" + fileExtension;
/pre


How to view videos and photos stored in the files database

Posted: Mon Sep 18, 2017 11:00 pm
by redwhiteblue4free

i made this
Image

my mapping
Image

and i did what you say added the code and still not working. need help

thanks


How to view videos and photos stored in the files database

Posted: Tue Sep 19, 2017 10:16 am
by Serhii Kulibaba

Please provide us with a public app link (https://docs.appery.io/docs/testingan...) and exact steps to reproduce this problem.


How to view videos and photos stored in the files database

Posted: Tue Sep 19, 2017 10:47 am
by redwhiteblue4free

like this?
https://appery.io/app/mobile-frame?sr...

and exact steps to reproduce this problem. i dont know what to put here, explain.

thanks