mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 09:49:20 +02:00
Rename player embed api
This commit is contained in:
parent
a1bd2b77d9
commit
8953f055c8
11 changed files with 7 additions and 4 deletions
|
@ -242,7 +242,10 @@ export class PeerTubeEmbed {
|
|||
this.buildPlayerIfNeeded()
|
||||
])
|
||||
|
||||
this.peertubePlayer.setPoster(window.location.origin + video.previewPath)
|
||||
// If already played, we are in a playlist so we don't want to display the poster between videos
|
||||
if (!this.alreadyPlayed) {
|
||||
this.peertubePlayer.setPoster(window.location.origin + video.previewPath)
|
||||
}
|
||||
|
||||
const playlist = this.playlistTracker
|
||||
? {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue