From 505f86bdf6f846b1a75bbcf88ca80dfe0ce659fa Mon Sep 17 00:00:00 2001 From: arnaud Date: Wed, 2 Oct 2024 16:05:50 +0200 Subject: [PATCH] Change video.skip to a pointer --- video.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video.go b/video.go index f69d0e2..9f9bfe6 100644 --- a/video.go +++ b/video.go @@ -24,7 +24,7 @@ type Video struct { Height int `json:"h"` // Height of the player in pixels StartDelay StartDelay `json:"startdelay,omitempty"` // Indicates the start delay in seconds Linearity VideoLinearity `json:"linearity,omitempty"` // Indicates whether the ad impression is linear or non-linear - Skip int `json:"skip,omitempty"` // Indicates if the player will allow the video to be skipped, where 0 = no, 1 = yes. + Skip *int `json:"skip,omitempty"` // Indicates if the player will allow the video to be skipped, where 0 = no, 1 = yes. SkipMin int `json:"skipmin,omitempty"` // Videos of total duration greater than this number of seconds can be skippable SkipAfter int `json:"skipafter,omitempty"` // Number of seconds a video must play before skipping is enabled Sequence int `json:"sequence,omitempty"` // Default: 1