aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-05-22 09:16:05 +0200
committerChocobozzz <me@florianbigard.com>2018-05-22 09:17:21 +0200
commite7eb5b399725afe7bae2dac27235a6e9478a2f12 (patch)
treec8e3dbbc50bfb1d6033b995b14977c934d625588 /client/src/app
parent0b33c5206023de0946b247e767087a518e0dec9a (diff)
downloadPeerTube-e7eb5b399725afe7bae2dac27235a6e9478a2f12.tar.gz
PeerTube-e7eb5b399725afe7bae2dac27235a6e9478a2f12.tar.zst
PeerTube-e7eb5b399725afe7bae2dac27235a6e9478a2f12.zip
Fix play on iOS (grumph)
Diffstat (limited to 'client/src/app')
-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({