diff options
author | Chocobozzz <me@florianbigard.com> | 2018-02-14 18:21:14 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-02-14 18:33:06 +0100 |
commit | 7b0956ec4f7753c864c4cea220e6f189327baa93 (patch) | |
tree | ed6728632a5a53bcde55978e21c2b7296c104f7e /client/src/standalone/videos | |
parent | 3bcfff7f446d0a1d8ef5adf340375e178259a42c (diff) | |
download | PeerTube-7b0956ec4f7753c864c4cea220e6f189327baa93.tar.gz PeerTube-7b0956ec4f7753c864c4cea220e6f189327baa93.tar.zst PeerTube-7b0956ec4f7753c864c4cea220e6f189327baa93.zip |
Fix tests
Diffstat (limited to 'client/src/standalone/videos')
-rw-r--r-- | client/src/standalone/videos/embed.ts | 2 |
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' | |||
7 | import { VideoDetails } from '../../../../shared' | 7 | import { VideoDetails } from '../../../../shared' |
8 | 8 | ||
9 | function getVideoUrl (id: string) { | 9 | function 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 | ||
13 | async function loadVideoInfo (videoId: string): Promise<VideoDetails> { | 13 | async function loadVideoInfo (videoId: string): Promise<VideoDetails> { |