redwhiteblue4free
Posts: 0
Joined: Tue Jul 04, 2017 6:37 am

How to view videos and photos stored in the files database

are u working on it? does that mean i cant close the app?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

How to view videos and photos stored in the files database

There is still a list of images instead of videos:

Image

redwhiteblue4free
Posts: 0
Joined: Tue Jul 04, 2017 6:37 am

How to view videos and photos stored in the files database

i told u before there are video and image in the database... what do you want me to do then

redwhiteblue4free
Posts: 0
Joined: Tue Jul 04, 2017 6:37 am

How to view videos and photos stored in the files database

give me instruction on what should i do

redwhiteblue4free
Posts: 0
Joined: Tue Jul 04, 2017 6:37 am

How to view videos and photos stored in the files database

u keep telling me there is image instep of video, i keep telling u there are image and video in the database. u tell me to fix it, but how? u want me to delete all image in the database?

redwhiteblue4free
Posts: 0
Joined: Tue Jul 04, 2017 6:37 am

How to view videos and photos stored in the files database

there are image and video in the database. u tell me to fix it, but how?
Image

redwhiteblue4free
Posts: 0
Joined: Tue Jul 04, 2017 6:37 am

How to view videos and photos stored in the files database

this post collection content image and video posted by user. do i have to separate image and video in different collection? can i not put them together in a same collection.

if need to separate then i will make a collection call postImage only for image and postVideo only for video. then to list them i will use postImage list service for image and postVideo list service for video. is that what i have to do?

thanks

redwhiteblue4free
Posts: 0
Joined: Tue Jul 04, 2017 6:37 am

How to view videos and photos stored in the files database

i have separate image and video file in different collection. i implement the Master-Detail Page method
https://docs.appery.io/docs/appbuilde...

now in video collection there are three video file and i still cant get them to play.

also want to ask every time when finish uploading a file, i choose different file and upload again, but it work only so many time after that it will freeze and i have to always restart my phone. why is this happening? do i have to clear the memory after each file upload? if so how do i clear the memory after each file upload?

thanks

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

How to view videos and photos stored in the files database

1) Please enable controls and set a value of preload=auto for the video component
2) Set the static value of the mapping to the property "type":
prevideo/mp4/pre
3) Add a full path to the each video file with the JS code on it's mapping:
prereturn "https://api.appery.io/rest/1/db/files/5984d1a52e22d73257634af6/"+
value;/pre

It works fine for me

Return to “Issues”