diff options
Diffstat (limited to 'client/src/standalone/videos/embed.ts')
-rw-r--r-- | client/src/standalone/videos/embed.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/standalone/videos/embed.ts b/client/src/standalone/videos/embed.ts index f35f4a23a..36480922e 100644 --- a/client/src/standalone/videos/embed.ts +++ b/client/src/standalone/videos/embed.ts | |||
@@ -589,7 +589,7 @@ export class PeerTubeEmbed { | |||
589 | 589 | ||
590 | this.buildCSS() | 590 | this.buildCSS() |
591 | 591 | ||
592 | await this.buildDock(videoInfo) | 592 | this.buildDock(videoInfo) |
593 | 593 | ||
594 | this.initializeApi() | 594 | this.initializeApi() |
595 | 595 | ||
@@ -665,7 +665,7 @@ export class PeerTubeEmbed { | |||
665 | } | 665 | } |
666 | } | 666 | } |
667 | 667 | ||
668 | private async buildDock (videoInfo: VideoDetails) { | 668 | private buildDock (videoInfo: VideoDetails) { |
669 | if (!this.controls) return | 669 | if (!this.controls) return |
670 | 670 | ||
671 | // On webtorrent fallback, player may have been disposed | 671 | // On webtorrent fallback, player may have been disposed |