-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Playing video with PFFile.url not working #1440
Comments
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 : |
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 #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. |
Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Server!
Environment Setup
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.
The text was updated successfully, but these errors were encountered: