It's not the laptop need a fix but the browser.
On which browser are you having this problem?
Have you tried using another browser?
Are you using extensions on your browser?
Maybe it's some kind of FN button problem try FN+spacebar.
First of all try disabling the extensions which may cause it.
Than try another browser to see if problem persists.
If nothing happens check youtube faqs to see if there's a solution.