From e7eb5b399725afe7bae2dac27235a6e9478a2f12 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 22 May 2018 09:16:05 +0200 Subject: Fix play on iOS (grumph) --- client/src/app/videos/+video-watch/video-watch.component.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'client/src/app/videos') 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 { const playerElementWrapper = this.elementRef.nativeElement.querySelector('#video-element-wrapper') this.playerElement = document.createElement('video') this.playerElement.className = 'video-js vjs-peertube-skin' + this.playerElement.setAttribute('playsinline', 'true') playerElementWrapper.appendChild(this.playerElement) const videojsOptions = getVideojsOptions({ -- cgit v1.2.3