For protecting html codes where I have to copy the snippet

I want to protect a video from youtube. You described a modification where I have to enter the snippet in the post itself or with the editor and where exactly?

Sorry just starting with this
Gereon