JorgenPhi / php-snapchat

A PHP library for the Snapchat API - With Commit History
MIT License
259 stars 73 forks source link

Some videos load when saved, some don't? #69

Open Voiceeeeee opened 9 years ago

Voiceeeeee commented 9 years ago

Hello, I just started working on this library a few hours ago, decided to give it a shot for fun, and it's functioning perfectly, just one thing I noticed, I'm retrieving video snaps as MP4, when saving them and trying to open them, some work and some don't, the ones that aren't working did work at some case (removed the video and saved it again and it stopped working, although some I removed and saved again did work), I'm not really able to tell any difference between the videos working and the videos not working (when viewing them on an app that saves snaps on phone), no overlay or anything, what do you think could be causing this?

Thanks.

Voiceeeeee commented 9 years ago

Oh, it seems like it's not passing the isMedia check.

liamjack commented 9 years ago

If it isn't passing the first isMedia check then it should means it's zipped with an overlay. I am working on tuning the isMedia script to return the actual type of media, I'll keep you updated.

Voiceeeeee commented 9 years ago

It doesn't have an overlay, I checked with an app on Android and it's just a normal 8 seconds video, it also worked a few times with some tries then stopped working, then worked again.