Skip to content
This repository has been archived by the owner on Dec 24, 2024. It is now read-only.

Commit

Permalink
fix(vod/info): show raw json for vod info
Browse files Browse the repository at this point in the history
  • Loading branch information
Zibbp committed Apr 1, 2023
1 parent da5e81c commit d1cfcf5
Showing 1 changed file with 1 addition and 53 deletions.
54 changes: 1 addition & 53 deletions src/components/Vod/InfoModalContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,60 +23,8 @@ export const VodInfoModalContent = ({ vod }: any) => {
return (
<div>
<div>
Id: <Code>{vod.id}</Code>
<Code block>{JSON.stringify(vod, null, 2)}</Code>
</div>
<div>
External Id: <Code>{vod.ext_id}</Code>
</div>
<div>
Platform: <Code>{vod.platform}</Code>
</div>
<div>
Type: <Code>{vod.type}</Code>
</div>
<div>
Duration: <Code>{vod.duration}</Code>
</div>
<div>
Views: <Code>{vod.views}</Code>
</div>
<div>
Resolution: <Code>{vod.resolution}</Code>
</div>
<div>
Thumbnail Path: <Code>{vod.thumbnail_path}</Code>
</div>
<div>
Web Thumbnail Path: <Code>{vod.web_thumbnail_path}</Code>
</div>
<div>
Video Path: <Code>{vod.video_path}</Code>
</div>
<div>
Chat Path: <Code>{vod.chat_path}</Code>
</div>
<div>
Chat Video Path: <Code>{vod.chat_video_path}</Code>
</div>
<div>
Info Path: <Code>{vod.info_path}</Code>
</div>
<div>
Streamed At: <Code>{vod.streamed_at}</Code>
</div>
<div>
Created/Archived At: <Code>{vod.created_at}</Code>
</div>
{vod.edges.channel && (
<div>
<div>
Channel: <Code>{vod.edges.channel.name}</Code>
</div>
<div>
Channel Id: <Code>{vod.edges.channel.id}</Code>
</div>
</div>
)}
<div>
<Text mt={15} size="lg" weight={500}>
Video FFprobe
Expand Down

0 comments on commit d1cfcf5

Please sign in to comment.