diff options
Diffstat (limited to 'client/src/standalone/videos/embed.ts')
-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> { |