Zusammenführung von Playern

  Leider ist dieser Artikel auf Englisch verfügbar

The combination of players allows you to store several configurations in one player. This is handy if you want to publish on one page several players with different designs or settings.

How it works

For example, you have created two different players (for audio and video) and want to place them on the same page. One of the players will be the primary, the second - an additional. In the settings of the main player you need to go into Plugins/ Combine the players and select the second player in the Player #2 menu.

Then you need to specify the player number with the design parameter in the code to enable the corresponding design and settings.

var player = new Playerjs({id:"player",file:"http://site.com/video.mp4",design:2});

In PRO you can combine in this way up to 10 different players simultaneously.

How to switch between designs on the fly

You can also change the design of the player via JS API using the design command

player.api("design",2);

Copy design

You can also copy the design (just design) of one player to another using this page.


20.0.5
2024 © PlayerJS

Kostenlos anmelden

Registrieren Sie sich
Mit der Anmeldung stimmen Sie den Nutzungsbedingungen
Login zu, wenn Sie ein Konto haben.

Passwort wiederherstellen

Wiederherstellen
E-Mail vergessen? Kontaktieren Sie uns