pwlin / cordova-plugin-file-opener2

A File Opener Plugin for Cordova
MIT License
314 stars 587 forks source link

Plugin won't open video files on IOS #308

Open eradin opened 3 years ago

eradin commented 3 years ago

I can't seem to find a solution to this. It works fine under android and all other file formats work as well (pdf, images etc.). I'm downloading a video file into the device temporary storage using fileEntry of the File plugin. I pass the file and mime type (mime is video/quicktime but I've tried others like mp4), the plugin says it's opened successfully but ios only shows a window that says downloaded quicktime file. I'm testing on iphone (V13.6) and ipad (V14.). This video is short (under 1MB) and was recorded on the iphone so I know it's a proper iphone file format. Why wouldn't IOS open the video in the default video viewer?

Lyfei commented 1 year ago

Did you solve it?