diff options
Diffstat (limited to 'client/src/standalone/videos/shared')
-rw-r--r-- | client/src/standalone/videos/shared/player-manager-options.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/standalone/videos/shared/player-manager-options.ts b/client/src/standalone/videos/shared/player-manager-options.ts index 9ec012369..b0bdb2dd9 100644 --- a/client/src/standalone/videos/shared/player-manager-options.ts +++ b/client/src/standalone/videos/shared/player-manager-options.ts | |||
@@ -162,7 +162,7 @@ export class PlayerManagerOptions { | |||
162 | 162 | ||
163 | serverConfig: HTMLServerConfig | 163 | serverConfig: HTMLServerConfig |
164 | 164 | ||
165 | alreadyHadPlayer: boolean | 165 | autoplayFromPreviousVideo: boolean |
166 | 166 | ||
167 | translations: Translations | 167 | translations: Translations |
168 | 168 | ||
@@ -174,7 +174,7 @@ export class PlayerManagerOptions { | |||
174 | const { | 174 | const { |
175 | video, | 175 | video, |
176 | captionsResponse, | 176 | captionsResponse, |
177 | alreadyHadPlayer, | 177 | autoplayFromPreviousVideo, |
178 | videoFileToken, | 178 | videoFileToken, |
179 | translations, | 179 | translations, |
180 | forceAutoplay, | 180 | forceAutoplay, |
@@ -189,7 +189,7 @@ export class PlayerManagerOptions { | |||
189 | const playerOptions: PeertubePlayerManagerOptions = { | 189 | const playerOptions: PeertubePlayerManagerOptions = { |
190 | common: { | 190 | common: { |
191 | // Autoplay in playlist mode | 191 | // Autoplay in playlist mode |
192 | autoplay: alreadyHadPlayer ? true : this.autoplay, | 192 | autoplay: autoplayFromPreviousVideo ? true : this.autoplay, |
193 | forceAutoplay, | 193 | forceAutoplay, |
194 | 194 | ||
195 | controls: this.controls, | 195 | controls: this.controls, |