Why mbp keyboard light stays on while playing video in fullscreen?
YouTube is a web-based video platform and VLC is a 3rd party program. These are not Apple-made applications and so may not be built specifically for the hardware you are using.

You can control the MacBook Pro keyboard lighting on your F5 and F6 keys for these 3rd party applications.