From cd5d1e704d345ddf5824ee6c5b09c561ffc6d381 Mon Sep 17 00:00:00 2001 From: Scott Kay Date: Tue, 17 May 2022 02:07:31 -0400 Subject: [PATCH] PlaybackMethod Enum --- openrtb2/video.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openrtb2/video.go b/openrtb2/video.go index 0b23de5..15f5af5 100644 --- a/openrtb2/video.go +++ b/openrtb2/video.go @@ -298,7 +298,9 @@ type Video struct { // future version of the specification. It is strongly advised to use // only the first element of this array in preparation for this // change. - PlaybackMethod []int8 `json:"playbackmethod,omitempty"` + // Note: + // OpenRTB <=2.5 defined only methods 1..6. + PlaybackMethod []adcom1.PlaybackMethod `json:"playbackmethod,omitempty"` // Attribute: // playbackend