如何即时更改播放器的设计

  抱歉,这篇文章有英文版

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.6
2024 © PlayerJS

登录

登录

免费注册

注册
注册即表示您同意服务条款
登录(如果您有帐户)

恢复密码

恢复
忘记电子邮件?联系我们