mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 01:39:37 +02:00
Fix embed api with playlists
This commit is contained in:
parent
32f44a017c
commit
d91021548e
2 changed files with 44 additions and 7 deletions
|
@ -117,6 +117,11 @@ export class PeerTubeEmbed {
|
|||
|
||||
private initializeApi () {
|
||||
if (this.playerManagerOptions.hasAPIEnabled()) {
|
||||
if (this.api) {
|
||||
this.api.reInit()
|
||||
return
|
||||
}
|
||||
|
||||
this.api = new PeerTubeEmbedApi(this)
|
||||
this.api.initialize()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue