Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Server!
Could not find solutions in related issues
(Local mongodb, windows server, iisnode)
I am having issues playing a video stored as PFFile(name: "video.mov", data: data!). I can download the file on mac with chrome by accessing the PFFile.url. On safari I cant. If i save the video as PFFile(data, contentType: "video/mp4") I can't access it from chrome either. The video is stored to a _User. It doesnt seem to download the url at all on ios-device.
(https://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4 is used to test my IOS-code and works fine)
If i try to run the same code on my parse.com account it runs just fine and streams the video.
I'm having same issue, AVPlayer can play files from my personal server normally, but it cannot play files stored in Parse
Not exactly same issue for me, but may be related.
I can download / stream a PFFile without issue, but when trying to get a thumbnail at a certain time of a video, AVFoundation returns "bad server configuration".
Request :
method=GET path="pathToMyFile.mov" host=myHost request_id=requestId fwd="ipAddress" dyno=web.1 connect=0ms service=15ms status=200 bytes=161657
IOS wants partiall content responses, I made it work somehow and made a document about it on here:
notehub - Parse-Server pffile-url stream with local mongodb
If anyone want to improve, please do!
@Bragegs You must submit a PR for your code. AFAIK your's is the only existing solution for streaming audio/video from parse-server hosted on heroku with mongo db backend.
@Bragegs - I have verified that I have updated my Parse Server to the latest (2.3.7) but I cannot play video inside of IOS . Specifically using PFFILE from Parse IOS SDK . According to this link https://github.com/ParsePlatform/parse-server/pull/2437, your code had made it into the main branch but I cannot replicate your success . Can you please suggest what I need to do on the client side?
@indiandragon - I have a heroku / mlab (mongodb) setup . How did you get your setup working?
use the url from pffile it will never work using pffile directly
@wooknight , sorry for the delayed reply. Later ParseServer versions fixed this issue.
I'm using 2.6.3 currently.
Most helpful comment
IOS wants partiall content responses, I made it work somehow and made a document about it on here:
notehub - Parse-Server pffile-url stream with local mongodb
If anyone want to improve, please do!