Only enable video player for subscribers

This commit is contained in:
Fornax committed 2021-10-18 16:10:39 +02:00
1 parent e354787ddc
commit 268ef56ac8
1 file changed
+3 -2
+3 -2
View File
@@ -36,8 +36,9 @@ type FileInfo struct {
AbuseType string `json:"abuse_type"` AbuseType string `json:"abuse_type"`
AbuseReporterName string `json:"abuse_reporter_name"` AbuseReporterName string `json:"abuse_reporter_name"`
CanEdit bool `json:"can_edit"` CanEdit bool `json:"can_edit"`
ShowAds bool `json:"show_ads"` ShowAds bool `json:"show_ads"`
AllowVideoPlayer bool `json:"allow_video_player"`
} }
// FileStats contains realtime statistics for a file // FileStats contains realtime statistics for a file