How to change the design of the player on the fly


You can use the functionality of combining players Plugins / Combining players

When creating a player, you can select the desired player by number, which allows you to place several different players on one page.

In PRO you can combine up to 10 different configurations and switch to other profiles "on the fly" after creating the player. In this case will change just design. All other settings remain from the original configuration with which the player was created. You can change the design in this way when certain events occur. For example fullscreen mode or mobile platform. In the same way, you can change the design as desired by the user.

You can configure the switching by using the API command design

player.api("design",2);

This command switches the player's design to the second configuration.

You can also change the player's design from version 8.79 with the design parameter via the playlist

[{"file":"...","design":2},{"file":"...","design":3}]

20.0.5
2024 © PlayerJS

Sign up

Sign up
By signing up, you agree to Terms of Service
Login if you have an account

Restore password

Restore
Forgot email? Contact us