aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/videos')
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/src/app/videos/+video-watch/video-watch.component.ts b/client/src/app/videos/+video-watch/video-watch.component.ts
index 127ae919d..35a7c04cc 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.ts
+++ b/client/src/app/videos/+video-watch/video-watch.component.ts
@@ -340,6 +340,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
340 const playerElementWrapper = this.elementRef.nativeElement.querySelector('#video-element-wrapper') 340 const playerElementWrapper = this.elementRef.nativeElement.querySelector('#video-element-wrapper')
341 this.playerElement = document.createElement('video') 341 this.playerElement = document.createElement('video')
342 this.playerElement.className = 'video-js vjs-peertube-skin' 342 this.playerElement.className = 'video-js vjs-peertube-skin'
343 this.playerElement.setAttribute('playsinline', 'true')
343 playerElementWrapper.appendChild(this.playerElement) 344 playerElementWrapper.appendChild(this.playerElement)
344 345
345 const videojsOptions = getVideojsOptions({ 346 const videojsOptions = getVideojsOptions({