I have problems about Pin/Unpin Focused Window to float on top function

While I am watching a video on YouTube when I am opening Photoshop and starting doing things video stopping. But when I am working on After effects for example, there is no problem video keeps playing.

One last question, is there a way to get rid of that blue hover on the corners?