diff --git a/tubearchivist/www/src/components/VideoList.tsx b/tubearchivist/www/src/components/VideoList.tsx index ab96461..0df2dbe 100644 --- a/tubearchivist/www/src/components/VideoList.tsx +++ b/tubearchivist/www/src/components/VideoList.tsx @@ -15,91 +15,97 @@ export const VideoList = ({ videos }: { videos: Videos }) => { } return ( - <> -
-
-
- {/* {% if results %} - {% for video in results %} */} - {videos && - videos?.data?.map((video) => ( -
- -
-
- video-thumb - {/* {% if video.source.player.progress %} */} -
- {/* {% else %} */} -
- {/* {% endif %} */} -
-
- play-icon -
-
-
-
-
- {/* {% if video.source.player.watched %} */} - seen-icon - {/* {% else %} */} - unseen-icon - {/* {% endif %} */} - {/* {{ video.source.published }} | {{ video.source.player.duration_str }} */} -
-
- {/*

{{ video.source.channel.channel_name }}

*/} - {/*

{{ video.source.title }}

*/} -
-
-
- ))} - - {/* {% endfor %} - {% else %} */} - - {/* {% endif %} */} -
-
- +
+
{JSON.stringify(videos.data, null, 4)}
+
); + + // return ( + // <> + //
+ //
+ //
+ // {/* {% if results %} + // {% for video in results %} */} + // {videos && + // videos?.data?.map((video) => ( + //
+ // + //
+ //
+ // video-thumb + // {/* {% if video.source.player.progress %} */} + //
+ // {/* {% else %} */} + //
+ // {/* {% endif %} */} + //
+ //
+ // play-icon + //
+ //
+ //
+ //
+ //
+ // {/* {% if video.source.player.watched %} */} + // seen-icon + // {/* {% else %} */} + // unseen-icon + // {/* {% endif %} */} + // {/* {{ video.source.published }} | {{ video.source.player.duration_str }} */} + //
+ //
+ // {/*

{{ video.source.channel.channel_name }}

*/} + // {/*

{{ video.source.title }}

*/} + //
+ //
+ //
+ // ))} + + // {/* {% endfor %} + // {% else %} */} + + // {/* {% endif %} */} + //
+ //
+ // + // ); };