From 6677b9232f2a57483b7764d7d244f8bbe39166ac Mon Sep 17 00:00:00 2001 From: Kat Huang Date: Tue, 30 Jul 2024 11:53:34 -0600 Subject: [PATCH] Expose frames per second on video --- src/index.tsx | 2 ++ src/operations/video.gql | 1 + 2 files changed, 3 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index 535d380..0a044ea 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1931,6 +1931,7 @@ export type GetVideoForClipTimesQuery = { getVideo: { __typename?: "VideoGQL"; id: number; + framesPerSecond: number; playlist?: { __typename?: "HLSPlaylistGQL"; segmentDurations: Array; @@ -3720,6 +3721,7 @@ export const GetVideoForClipTimesDocument = gql` query GetVideoForClipTimes($videoId: Int!) { getVideo(videoId: $videoId) { id + framesPerSecond playlist { segmentDurations } diff --git a/src/operations/video.gql b/src/operations/video.gql index 5e5a895..db6d2e0 100644 --- a/src/operations/video.gql +++ b/src/operations/video.gql @@ -215,6 +215,7 @@ query GetMedianRunForVideo($videoId: Int!) { query GetVideoForClipTimes($videoId: Int!) { getVideo(videoId: $videoId) { id + framesPerSecond playlist { segmentDurations }