diff --git a/frontend/app/components/Session/Player/MobilePlayer/PlayerInst.tsx b/frontend/app/components/Session/Player/MobilePlayer/PlayerInst.tsx index 20d56b3bb..3752500b8 100644 --- a/frontend/app/components/Session/Player/MobilePlayer/PlayerInst.tsx +++ b/frontend/app/components/Session/Player/MobilePlayer/PlayerInst.tsx @@ -38,7 +38,7 @@ interface IProps { sessionId: string; activeTab: string; updateLastPlayedSession: (id: string) => void - videoURL: string; + videoURL: string[]; userDevice: string; } diff --git a/frontend/app/types/session/session.ts b/frontend/app/types/session/session.ts index f75b71587..09dccc4cc 100644 --- a/frontend/app/types/session/session.ts +++ b/frontend/app/types/session/session.ts @@ -133,6 +133,7 @@ export interface ISession { userUUID: string; userEvents: any[]; timezone?: string; + videoURL?: string[] } const emptyValues = { @@ -240,6 +241,7 @@ export default class Session { notes = [], canvasURL = [], uxtVideo = [], + videoURL = [], ...session } = sessionData; const duration = Duration.fromMillis(session.duration < 1000 ? 1000 : session.duration); @@ -332,6 +334,7 @@ export default class Session { devtoolsURL, notes, canvasURL, + videoURL: Array.isArray(videoURL) ? videoURL : [videoURL], notesWithEvents: mixedEventsWithIssues, frustrations: frustrationList, uxtVideo: uxtVideo[0],