Skip to main content
Video posts combine uploaded videos with an optional text caption. Upload the videos first, then pass the uploaded video objects or file IDs to the post creation API.
This page focuses on the SDK call that creates the post. See Video Handling for upload steps, supported file inputs, processing behavior, and upload constraints.

Uploaded Videos

Create posts from video objects or file IDs returned by the file upload flow.

Caption Support

Add text, metadata, mentions, or other SDK-supported post fields alongside the videos.

Parameters

Create a Video Post

The examples below create a video post in a community. Replace the target with the SDK’s user-feed target when posting to a user.

Notes

  • TypeScript accepts video attachments as { type: "video", fileId }.
  • Android accepts a Set<AmityVideo>.
  • iOS accepts [AmityVideoData].
  • Flutter accepts List<AmityVideo>.
For mixed attachment types, use Mixed Media Posts.

Video Handling

Upload videos before creating video posts.

Clip Posts

Create short-form clip posts where supported.

Mixed Media Posts

Combine videos with other supported media attachments.