owncloud / ios-app

📱The all-new iOS app for ownCloud
https://owncloud.org/news/new-ios-app-ready-public-app-store/
GNU General Public License v3.0
212 stars 121 forks source link

File Preview #68

Open jesmrec opened 6 years ago

jesmrec commented 6 years ago

This issue intends to be an epic to discuss about the way to preview downloaded files

Issues to take in account:

michaelstingl commented 6 years ago

Txt file editing: No priority. Needs another discussion about encoding etc someday maybe. With Files app integration it's very easy to use a better 3rd party text editor.

michaelstingl commented 6 years ago

I've got questions about audio streaming. Are there file formats that support this? Can this work similar to video streaming?

javiergonzper commented 6 years ago

I've got questions about audio streaming. Are there file formats that support this? Can this work similar to video streaming?

@michaelstingl It is very similar for video and audio (mostly is the same). We should use AVFundation to play them. After reading the AVMediaFormat.h all the supported files are:

com.apple.quicktime-movie: .mov and .qt public.mpeg-4: .mp4 com.apple.m4v-video: .m4v com.apple.m4a-audio: .m4a public.3gpp: .3gp, .3gpp, and .sdv public.3gpp2: .3g2, .3gp2 com.apple.coreaudio-format: .caf com.microsoft.waveform-audio: .wav, .wave, and .bwf public.aiff-audio: .aif and .aiff public.aifc-audio: .aifc and .cdda org.3gpp.adaptive-multi-rate-audio: .amr public.mp3: .mp3 public.au-audio: .au and .snd public.ac3-audio: .ac3 public.enhanced-ac3-audio: .eac3 public.jpeg: .jpg or .jpeg com.adobe.raw-image: .dng public.heic: .heic public.avci: .avci public.heif: .heif public.tiff: .tiff or .tif

javiergonzper commented 6 years ago

As an initial work we should create a default "File Preview" to open it before the file was loaded (or downloaded).

Also I am working on the More (the 3 dots of the top right corner)

file preview

michaelstingl commented 5 years ago

I opened an individual issue for "Send a file to other applications": https://github.com/owncloud/ios-app/issues/130

Is this related to https://github.com/owncloud/ios-app/issues/112 too?