Don't send the "http(s)" for the podUrl

pull/10/head
Chocobozzz 2016-05-21 15:05:29 +02:00
parent f1f4732f8e
commit 9e379c835c
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ function getFormatedVideo (videoObj) {
id: videoObj._id, id: videoObj._id,
name: videoObj.name, name: videoObj.name,
description: videoObj.description, description: videoObj.description,
podUrl: videoObj.podUrl, podUrl: videoObj.podUrl.replace(/^https?:\/\//, ''),
isLocal: videos.getVideoState(videoObj).owned, isLocal: videos.getVideoState(videoObj).owned,
magnetUri: videoObj.magnetUri, magnetUri: videoObj.magnetUri,
author: videoObj.author, author: videoObj.author,