Camera isn't affect by rotating object

Hi guys!

I have a simple Third person template here. The camera can move all around the player, except up and down (locked).

When I am on the rotating wood plank, the camera rotates when I don’t touch the mouse. It seems it wants to be aligned with the player.

I want the camera to just keep looking at the player without rotating in this case.

Can someone help me on this?

Here’s a video :