aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/standalone
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-10-25 16:43:19 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-10-26 09:11:38 +0200
commit404b54e14f6623c1644a8c87ca22f4bab98d5484 (patch)
tree5fbe6cb637f35abae08e4c98a537447cbf4607d6 /client/src/standalone
parentf5028693a896a3076dd286ac0030e3d8f78f5ebf (diff)
downloadPeerTube-404b54e14f6623c1644a8c87ca22f4bab98d5484.tar.gz
PeerTube-404b54e14f6623c1644a8c87ca22f4bab98d5484.tar.zst
PeerTube-404b54e14f6623c1644a8c87ca22f4bab98d5484.zip
Adapt client with video channels
Diffstat (limited to 'client/src/standalone')
-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) {