This is not caused by the router, but the video player in the browser is causing this buffering. You cannot avoid that delay with custom config on the router.
Do not confuse that with bufferbloat on routers, which means that high bandwidth connections do stall low bandwidth connections once the total internet bandwidth is saturated. This can be adressed with SQM, but not your Youtube issue.