How do I disable the button on YouTube player | Violation

how do I disable the button on YouTube player …
because I get a violation with a new policy ( google )