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
-rw-r--r--client/src/standalone/videos/test-embed.ts2
2 files changed, 3 insertions, 3 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
diff --git a/client/src/standalone/videos/test-embed.ts b/client/src/standalone/videos/test-embed.ts
index a051f1f89..301c95d7b 100644
--- a/client/src/standalone/videos/test-embed.ts
+++ b/client/src/standalone/videos/test-embed.ts
@@ -47,7 +47,7 @@ window.addEventListener('load', async () => {
47 let playbackRates: number[] = [] 47 let playbackRates: number[] = []
48 let currentRate = await player.getPlaybackRate() 48 let currentRate = await player.getPlaybackRate()
49 49
50 const updateRates = async () => { 50 const updateRates = () => {
51 const rateListEl = document.querySelector('#rate-list') 51 const rateListEl = document.querySelector('#rate-list')
52 rateListEl.innerHTML = '' 52 rateListEl.innerHTML = ''
53 53