@mehdihasan It looks like the max video size that can be uploaded is 8 MB (EDIT: actually 40 MB, see thread), which may make a pretty short video depending on the video's bit-rate. Right now, it seems the best options is to upload it to another video side (I.E., YouTube) and link to it in your post.
Video is one of the hardest thing to store on a server, so limiting how big they can be was probably the best compromise at the moment so that servers don't get filled out by video files too fast.
Poked into it further and looks like the hard limit set in the code is 10 mb for images and 40 mb for videos, but each server can have their own limits set lower: https://github.com/mastodon/mastodon/blob/main/app/models/media_attachment.rb#L41-L42
Imagine how I felt when he thanked me directly.
As for "fediverse" versions of popular social sites, you've mentioned #PeerTube as a #Youtube alternative, but there's also #PixelFed (#Instagram), #OwnCast (#Twitch), #Friendica (#FaceBook) and so many more. I.E., I have a PixelFed account at @[email protected], and you're able to follow, boost, and comment from any of the above and #Mastodon.
@mehdihasan it seems to have converted it to a gif tho O_o
likely need to post youtube/platform links?
@mehdihasan Looks like it doesn't always work native https://infosec.exchange/@triciakickssaas/109310099649306717
And, I suspect size limits are up to each mastodon instance owner.
Safer to YouTube/Vimeo prbly.
Attached: 1 video Hi everyone! I'm triciakickssaas, a content creator in cybersecurity. I like to make parody songs about security occasionally. I'll start by sharing one of my favourites, The [Budget] Confrontation (In the style of Confrontation from Les Miserables)
@mehdihasan and, over on infosec.exchange that video embed worked fine.
so safest path is likely poster image + link to platform video.
Nothing "Luddite" in the #Fediverse :) I would recommend for your organisation to run an instance of #peertube and publish videos there, then connecting them to Mastodon
Info, see: https://joinpeertube.org/#what-is-peertube
Others have said use the paperclip, but on the Sndroid Mastodon app there is none. Use the envelope icon on the bottom left of the page.
Just a reminder about Mastodon. Try not to directly upload videos here. You have to remember that these videos have to be stored on the server that you're hosted on. This would also eat up on available bandwidth, storage and memory resources of said servers and slow them down. Which would force server hosts to upgrade at a substantial cost. Suggested idea... Upload to Peertube, Vimeo or other video streaming services and share the link to the video here instead. (Edited)
@mehdihasan I am new here too, but from what i gather you post them places like youtube and link them here. However, if you are digging the whole fediverse thing, check out peertube for video sharing and pixelfed for photo sharing!

As more and more people are asking me about Mastodon I felt a need for a picture to point at, showcasing how the software known as Mastodon fits into the much larger concept of the Fediverse. I made this infographic to help myself and others explain the many different use-cases
Just a reminder about Mastodon. Try not to directly upload videos here. You have to remember that these videos have to be stored on the server that you're hosted on. This would also eat up on available bandwidth, storage and memory resources of said servers and slow them down. Which would force server hosts to upgrade at a substantial cost. Suggested idea... Upload to Peertube, Vimeo or other video streaming services and share the link to the video here instead. (Edited)
@mehdihasan Maybe use a federated video sharing site like PeerTube: