FedStoa / moa

A Mastodon, Twitter, and Instagram Cross-poster
https://moa.party
MIT License
356 stars 19 forks source link

Mastodon video --> Twitter doesn't work #116

Closed alexgleason closed 5 years ago

alexgleason commented 5 years ago

Maybe related to #113 but this time it's definitely a video.

As you can see, the video is shown on Mastodon but not Twitter. It's an MP4 with 1:01 duration, and the original video downloadable here: https://streamable.com/q3bst

Here's my settings:

Screenshot from 2019-05-19 14 21 41

Thanks!

foozmeat commented 5 years ago

I'm pretty sure this was caused by Twitter returning the weird Large file can not be finalized synchronously error. So far I haven't been able to figure how to handle this.

foozmeat commented 5 years ago

According to this comment setting media_category='tweet_video' when uploading video changes the behavior and indeed it does. With that flag I no longer get the error.

https://www.jwz.org/blog/2016/06/twitters-musical-chairs-video-specifications/#comment-167386

foozmeat commented 5 years ago

@alexgleason I believe this is fixed.