Query outputting YouTube url rather than embedded video

The problem is that as you are calling the function directly, there are filters that arent being called, you can fix this by calling the apply_filters function using the_content filter, like this.

apply_filters( 'the_content', $content );

Where $content is the result of get_the_content()