]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/activitypub/objects/common-objects.ts
Use height instead of width to represent the video resolution
[github/Chocobozzz/PeerTube.git] / shared / models / activitypub / objects / common-objects.ts
index 3127d0565c7240f001c85fed3ef0cf111cbc0b02..ff2cfdbb4894850d0cf9120f1ebcd0a4bf9c550e 100644 (file)
@@ -21,8 +21,10 @@ export interface ActivityUrlObject {
   type: 'Link'
   mimeType: 'video/mp4' | 'video/webm' | 'application/x-bittorrent' | 'application/x-bittorrent;x-scheme-handler/magnet'
   href: string
-  width: number
+  height: number
+
   size?: number
+  fps?: number
 }
 
 export interface ActivityPubAttributedTo {