How to place two different players on one page


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

We have two different players and want to place them on one page. One of the players will be the primary, the second - an additional. In the editing mode of the main player you need to go into Plugins/ Combine the players and select the second player in the Player #2 menu.

Then in the code specify the player's number with the parameter player, so that it's turned on.

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

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




2018 © PlayerJS

Login

Restore password
Sign up
Log in

Sign up free

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

Enterprise

Your name
Website
Email
Phone
Description
Order player

Restore password

Restore
Forgot email? Contact us