Showing Censored in video statistics. Using link for video url.

This commit is contained in:
Roland 2021-12-24 15:38:58 -07:00
parent 95c37ae415
commit 22031c5860
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93

View file

@ -81,16 +81,19 @@ function VideoPage(props) {
<p>{video.size ? humanFileSize(video.size) : '???'}</p>
<h3>Source URL</h3>
<p>{video.url || 'N/A'}</p>
<h3>Source ID</h3>
<p>{video.source_id || 'N/A'}</p>
<p>{video.url ? <a href={video.url}>{video.url}</a> : 'N/A'}</p>
<h3>View Count</h3>
<p>{viewCount ? humanNumber(viewCount) : 'N/A'}</p>
<h3>Censored</h3>
<p>{video.censored ? 'Yes' : 'No'}</p>
<h3>File Name</h3>
<pre style={{backgroundColor: '#ccc', padding: '0.4em'}}>{video.video_path}</pre>
<h3>Source ID</h3>
<p>{video.source_id || 'N/A'}</p>
</Tab.Pane>
}