mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 18:29:27 +02:00
Add ability to import video with youtube-dl
This commit is contained in:
parent
5e319fb789
commit
fbad87b047
42 changed files with 1507 additions and 446 deletions
|
@ -45,7 +45,7 @@ function isActivityPubVideoDurationValid (value: string) {
|
|||
}
|
||||
|
||||
function sanitizeAndCheckVideoTorrentObject (video: any) {
|
||||
if (video.type !== 'Video') return false
|
||||
if (!video || video.type !== 'Video') return false
|
||||
|
||||
if (!setValidRemoteTags(video)) return false
|
||||
if (!setValidRemoteVideoUrls(video)) return false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue