aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/standalone/videos/embed.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-02-14 18:21:14 +0100
committerChocobozzz <me@florianbigard.com>2018-02-14 18:33:06 +0100
commit7b0956ec4f7753c864c4cea220e6f189327baa93 (patch)
treeed6728632a5a53bcde55978e21c2b7296c104f7e /client/src/standalone/videos/embed.ts
parent3bcfff7f446d0a1d8ef5adf340375e178259a42c (diff)
downloadPeerTube-7b0956ec4f7753c864c4cea220e6f189327baa93.tar.gz
PeerTube-7b0956ec4f7753c864c4cea220e6f189327baa93.tar.zst
PeerTube-7b0956ec4f7753c864c4cea220e6f189327baa93.zip
Fix tests
Diffstat (limited to 'client/src/standalone/videos/embed.ts')
-rw-r--r--client/src/standalone/videos/embed.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/standalone/videos/embed.ts b/client/src/standalone/videos/embed.ts
index da935ef4c..925367bb9 100644
--- a/client/src/standalone/videos/embed.ts
+++ b/client/src/standalone/videos/embed.ts
@@ -7,7 +7,7 @@ import 'videojs-dock/dist/videojs-dock.es.js'
7import { VideoDetails } from '../../../../shared' 7import { VideoDetails } from '../../../../shared'
8 8
9function getVideoUrl (id: string) { 9function getVideoUrl (id: string) {
10 return window.location.origin + '/api/v1/videos/' + videoId 10 return window.location.origin + '/api/v1/videos/' + id
11} 11}
12 12
13async function loadVideoInfo (videoId: string): Promise<VideoDetails> { 13async function loadVideoInfo (videoId: string): Promise<VideoDetails> {