aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/standalone/videos
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/standalone/videos')
-rw-r--r--client/src/standalone/videos/embed.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/standalone/videos/embed.ts b/client/src/standalone/videos/embed.ts
index f2f339bcc..f696df968 100644
--- a/client/src/standalone/videos/embed.ts
+++ b/client/src/standalone/videos/embed.ts
@@ -3,9 +3,9 @@ import './embed.scss'
3import videojs from 'video.js' 3import videojs from 'video.js'
4import '../../assets/player/peertube-videojs-plugin' 4import '../../assets/player/peertube-videojs-plugin'
5import 'videojs-dock/dist/videojs-dock.es.js' 5import 'videojs-dock/dist/videojs-dock.es.js'
6import { Video } from '../../../../shared' 6import { VideoDetails } from '../../../../shared'
7 7
8function loadVideoInfo (videoId: string, callback: (err: Error, res?: Video) => void) { 8function loadVideoInfo (videoId: string, callback: (err: Error, res?: VideoDetails) => void) {
9 const xhttp = new XMLHttpRequest() 9 const xhttp = new XMLHttpRequest()
10 xhttp.onreadystatechange = function () { 10 xhttp.onreadystatechange = function () {
11 if (this.readyState === 4 && this.status === 200) { 11 if (this.readyState === 4 && this.status === 200) {