From 4d8a61baba98815aa7cb6353b6f3c9124a30db2e Mon Sep 17 00:00:00 2001 From: Adrian Castro <22133246+castdrian@users.noreply.github.com> Date: Wed, 14 Feb 2024 22:39:32 +0100 Subject: [PATCH] chore: cleanup --- apps/expo/src/app/videoPlayer/index.tsx | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/apps/expo/src/app/videoPlayer/index.tsx b/apps/expo/src/app/videoPlayer/index.tsx index 76bc000..d55e80a 100644 --- a/apps/expo/src/app/videoPlayer/index.tsx +++ b/apps/expo/src/app/videoPlayer/index.tsx @@ -256,28 +256,6 @@ const VideoPlayer: React.FC = ({ data }) => { // language: string; // } -// const captionTypeToTextTracksType = { -// srt: TextTracksType.SUBRIP, -// vtt: TextTracksType.VTT, -// }; - -// function convertCaptionsToTextTracks(captions: Caption[]): TextTracks { -// return captions -// .map((caption) => { -// if (Platform.OS === "ios" && caption.type !== "vtt") { -// return null; -// } - -// return { -// title: caption.language, -// language: caption.language as ISO639_1, -// type: captionTypeToTextTracksType[caption.type], -// uri: caption.url, -// }; -// }) -// .filter(Boolean) as TextTracks; -// } - const styles = StyleSheet.create({ video: { position: "absolute",