media.upload() returns mediaUrl and mediaId for video uploads, but no poster URL. Without it, the video element shows a default background image until the video starts playing (at least on the Reddit app).
Reddit already generates poster images for all uploaded videos (you can see the poster attribute on any Reddit video element), so this should just be a matter of including it in the MediaAsset response as a posterUrl or previewUrl.
Would be especially useful for apps that don't autoplay until the user explicitly interacts with the post.
media.upload()returnsmediaUrlandmediaIdfor video uploads, but no poster URL. Without it, the video element shows a default background image until the video starts playing (at least on the Reddit app).Reddit already generates poster images for all uploaded videos (you can see the
posterattribute on any Reddit video element), so this should just be a matter of including it in theMediaAssetresponse as aposterUrlorpreviewUrl.Would be especially useful for apps that don't autoplay until the user explicitly interacts with the post.