How to fix the player when scrolling


With the PRO in visibility plugin you can enable a fixed position when a player leave the screen. A player moves to the lower or upper corner of the screen when it comes to invisible.

By default, the player will switch to the fix mode if

  • while scrolling less than 30% visibility
  • player was launched on desktop
  • was not returned to normal mode

In the settings you can change this options and visibility percentage, position, margins and size in lock position.

Important things:

  • To return to normal mode, you must create a custom element in the player interface with the command api:unfixing
  • The player should be placed on the page as a normal object without absolute positioning in CSS.
  • This plugin does not work if the player is inside the iframe.
  • On the page there can be only one player with such settings.

Demo (start playback and scroll down)





2019 © 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