diff options
author | Chocobozzz <me@florianbigard.com> | 2020-08-27 08:39:44 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-08-27 08:39:44 +0200 |
commit | 1a568b6fcae4cd64458bb2d53543bffd1a3baabc (patch) | |
tree | a250dccd0b35d421224034a4cc288d4b3731db84 /client/src/app/+videos | |
parent | 23f5be5e245aee4b252889a40a8d474d33623626 (diff) | |
download | PeerTube-1a568b6fcae4cd64458bb2d53543bffd1a3baabc.tar.gz PeerTube-1a568b6fcae4cd64458bb2d53543bffd1a3baabc.tar.zst PeerTube-1a568b6fcae4cd64458bb2d53543bffd1a3baabc.zip |
Fix play of videos on ios
When the user already played a video
Diffstat (limited to 'client/src/app/+videos')
-rw-r--r-- | client/src/app/+videos/+video-watch/video-watch.component.ts | 2 |
1 files changed, 2 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 f048edec4..8e6d62a09 100644 --- a/client/src/app/+videos/+video-watch/video-watch.component.ts +++ b/client/src/app/+videos/+video-watch/video-watch.component.ts | |||
@@ -117,6 +117,8 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
117 | } | 117 | } |
118 | 118 | ||
119 | async ngOnInit () { | 119 | async ngOnInit () { |
120 | PeertubePlayerManager.initState() | ||
121 | |||
120 | this.serverConfig = this.serverService.getTmpConfig() | 122 | this.serverConfig = this.serverService.getTmpConfig() |
121 | 123 | ||
122 | this.configSub = this.serverService.getConfig() | 124 | this.configSub = this.serverService.getConfig() |