The benefit of wordpress is not having to deal with html and php code. But if you wanted to embed a youtube code in Wordpress you would have to switch to the html mode and insert code you copy from Youtube.