Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Add information at video upload if user video quota is reached

Chocobozzza8b5de6c670e
diff --git a/client/src/app/videos/video-edit/video-add.component.ts b/client/src/app/videos/video-edit/video-add.component.ts
index 5d6c0e0c70..768b6fbcdc 100644
--- a/client/src/app/videos/video-edit/video-add.component.ts
+++ b/client/src/app/videos/video-edit/video-add.component.ts
@@ -178,6 +178,8 @@ export class VideoAddComponent extends FormReactive implements OnInit {
this.error += ' access token refreshed. Please retry your request.'
}
)
+ } else if (status === 403) {
+ this.error = 'Your video quota is reached, you can\'t upload this video.'
} else {
this.error = 'Unknow error'
console.error(this.error)