How to make parallax background that follows player

Parallax background must be relative to map size. Parallax backgroudn should follow player.

Example:
Animation2

I found this video about map, but how do i make parallax background now