{path}
} else {
return 'Unknown'
}
}
export function CaptionTrack({src, ...props}) {
if (src.endsWith('.de.vtt')) {
return
} else if (src.endsWith('.es.vtt')) {
return
} else if (src.endsWith('.fr.vtt')) {
return
} else if (src.endsWith('.id.vtt')) {
return
} else if (src.endsWith('.it.vtt')) {
return
} else if (src.endsWith('.ja.vtt')) {
return
} else if (src.endsWith('.pl.vtt')) {
return
} else if (src.endsWith('.pt.vtt')) {
return
} else if (src.endsWith('.ro.vtt')) {
return
} else if (src.endsWith('.ru.vtt')) {
return
} else if (src.endsWith('.th.vtt')) {
return
}
return
}
const NoComments = ({video}) => {
const videoUrl = video.url;
const handleRefresh = async () => {
const destination = getParentDirectory(video.primary_path);
await downloadVideoMetadata(videoUrl, destination);
};
if (videoUrl) {
return No comments have been been downloaded. Refresh the video?
No comment have been downloaded. WROLPi does not know the URL of this video, so it cannot download the comments.
Try finding and downloading the video again.
{description}
{video.caption || 'No captions available.'}
{videoFile.size ? humanFileSize(videoFile.size) : 'Unknown'}
{videoFile.url ? {videoFile.url} : 'N/A'}
{video.view_count ? humanNumber(video.view_count) : 'N/A'}
{video.censored ? 'Yes' : 'No'}
No related videos found.