Skip to content
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

$snapchat->upload() doesn't work with all mp4 videos #97

Open
nicolashardy opened this issue Feb 25, 2015 · 2 comments
Open

$snapchat->upload() doesn't work with all mp4 videos #97

nicolashardy opened this issue Feb 25, 2015 · 2 comments

Comments

@nicolashardy
Copy link

Hello

I'm trying to use this library but I have a problem

All the mp4 files don't work apparently.

This one works http://techslides.com/demos/sample-videos/small.mp4
This one doesn't https://fat.gfycat.com/UncommonForkedArthropods.mp4

The method used is the same than in the example

$video = http://.....
$id = $snapchat->upload(
Snapchat::MEDIA_VIDEO,
file_get_contents($video)
);

$snapchat->send($id, array('MYID'), 8);

Do you have any ideas ? Thanks

@ThePengwin
Copy link

For starters, your second video is over 10 seconds long.
Snapchat won't allow a video over 10 seconds.

@nicolashardy
Copy link
Author

Thank you for your answer. Anyway, I still have the same issue with : https://fat.gfycat.com/ThreadbareGenuineHake.mp4 which is shorter than 10secs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants