Skip to content

Commit

Permalink
Update VideoClient.php
Browse files Browse the repository at this point in the history
  • Loading branch information
puklipo committed Nov 25, 2024
1 parent e49a5ce commit 1748d62
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Client/SubClient/VideoClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,12 @@ public function withServiceAuthToken(string $token): self

/**
* {@link AppBskyVideo::uploadVideo()} doesn't work because it is missing required parameters.
*
* @link https://github.com/bluesky-social/social-app/blob/main/src/lib/media/video/upload.ts
*/
public function upload(string $did, StreamInterface|string $data, string $type = 'video/mp4'): Response
{
// Generates random names just like the official app
$name = Str::random(12).$this->ext($type);

return $this->http()
Expand Down

0 comments on commit 1748d62

Please sign in to comment.