From 268ef56ac8a47ac1d88aacb4a25116d668a1ed70 Mon Sep 17 00:00:00 2001 From: Wim Brand Date: Mon, 18 Oct 2021 16:10:39 +0200 Subject: [PATCH] Only enable video player for subscribers --- pixelapi/file.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pixelapi/file.go b/pixelapi/file.go index 89d4b72..587f27c 100644 --- a/pixelapi/file.go +++ b/pixelapi/file.go @@ -36,8 +36,9 @@ type FileInfo struct { AbuseType string `json:"abuse_type"` AbuseReporterName string `json:"abuse_reporter_name"` - CanEdit bool `json:"can_edit"` - ShowAds bool `json:"show_ads"` + CanEdit bool `json:"can_edit"` + ShowAds bool `json:"show_ads"` + AllowVideoPlayer bool `json:"allow_video_player"` } // FileStats contains realtime statistics for a file