diff options
author | Chocobozzz <me@florianbigard.com> | 2017-12-19 15:17:43 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2017-12-19 15:17:43 +0100 |
commit | 85414add64d2215a44866471913a8470638742e4 (patch) | |
tree | 3612797b9e155c6c9df059cbdd11a0a7a1fcf011 /server/helpers/custom-validators | |
parent | 232f04c809bf25952b790da5685b36f05cb19750 (diff) | |
download | PeerTube-85414add64d2215a44866471913a8470638742e4.tar.gz PeerTube-85414add64d2215a44866471913a8470638742e4.tar.zst PeerTube-85414add64d2215a44866471913a8470638742e4.zip |
Fix player play exception on chromium
Diffstat (limited to 'server/helpers/custom-validators')
-rw-r--r-- | server/helpers/custom-validators/activitypub/videos.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/server/helpers/custom-validators/activitypub/videos.ts b/server/helpers/custom-validators/activitypub/videos.ts index b485e5fcf..ae1339611 100644 --- a/server/helpers/custom-validators/activitypub/videos.ts +++ b/server/helpers/custom-validators/activitypub/videos.ts | |||
@@ -43,8 +43,6 @@ function isActivityPubVideoDurationValid (value: string) { | |||
43 | } | 43 | } |
44 | 44 | ||
45 | function isVideoTorrentObjectValid (video: any) { | 45 | function isVideoTorrentObjectValid (video: any) { |
46 | console.log(video) | ||
47 | |||
48 | return video.type === 'Video' && | 46 | return video.type === 'Video' && |
49 | isActivityPubUrlValid(video.id) && | 47 | isActivityPubUrlValid(video.id) && |
50 | isVideoNameValid(video.name) && | 48 | isVideoNameValid(video.name) && |