mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-01 20:36:21 -05:00
Creating Video.validated which is used by find_corrupt_videos.py to search.
This commit is contained in:
parent
d0d315cd67
commit
e8e5b5727f
17 changed files with 253 additions and 125 deletions
|
|
@ -193,11 +193,6 @@ function VideoPage({videoFile, prevFile, nextFile, fetchVideo, ...props}) {
|
|||
}
|
||||
|
||||
let videoSource = <source src={videoUrl}/>;
|
||||
if (video.codec_names && video.codec_names.indexOf('mp4') >= 0) {
|
||||
videoSource = <source src={videoUrl} type="video/mp4"/>
|
||||
} else if (video.codec_names && video.codec_names.indexOf('vp9') >= 0) {
|
||||
videoSource = <source src={videoUrl} type='video/mp4;codecs="vp9, vorbis"'/>
|
||||
}
|
||||
|
||||
return <>
|
||||
<Container style={{margin: '1em'}}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue