import { CustomHead } from "~/components/CustomHead"; import { Layout } from "~/components/Layout"; import { getVideo } from "~/lib/getVideos"; import VideoPlayer from "~/components/VideoPlayer/VideoPlayer"; const Video = () => { const data = { data: [] }; return (
{/* {% if cast %} */} {/* */} {/* {% endif %} */}

{data?.data?.title}

{" "} {data?.data?.channel?.channel_name}{" "}

{/* {% if video.channel.channel_subs >= 1000000 %} */}

Subscribers: {data?.data?.channel?.channel_subs}

{/* {% else %} */} {/*

Subscribers: video.channel.channel_subs|intcomma

*/} {/* {% endif %} */}

Published: {data?.data?.published}

Last refreshed: {data?.data?.vid_last_refresh}

Watched: {/* {% if video.player.watched %} */} seen-icon {/* {% else %} */} unseen-icon {/* {% endif %} */}

{/* {% if video.active %} */}

Youtube:{" "} Active

{/* {% else %} */}

Youtube: Deactivated

{/* {% endif %} */}
Are you sure? {" "}

views: {data.data.stats.view_count}{" "}

thumbs-up: {data.data.stats.like_count}{" "}

{/* {% if video.stats.dislike_count %} */} {data.data.stats.dislike_count > 0 ? (

thumbs-down : {data?.data?.stats?.dislike_count}{" "}

) : null} {/* {% endif %} */} {/* {% if video.stats.average_rating %} */} {data.data.stats.average_rating ? (

Rating: {/* {% for star in video.stats.average_rating %} */} {{ star }} {/* {% endfor %} */}

) : null} {/* {% endif %} */}
{/* {% if video.description %} */}

Description:{" "}

{data?.data?.description}
{/* {% endif %} */} {/* {% if playlist_nav %} */} {/* {% for playlist_item in playlist_nav %} */}

Playlist playlist_item.playlist_meta.current_idx|add:1 : playlist_item.playlist_meta.playlist_name{" "}

{/* {% if playlist_item.playlist_previous %} */} previous thumbnail {/* {% endif %} */}
{/* {% if playlist_item.playlist_next %} */} previous thumbnail {/* {% endif %} */}
{/* {% endfor %} {% endif %} */}
); }; export default Video;