Apply height and width for the_content() inside youtube video tag

According to Codex Embeds documentation:

It also allows you to set a maximum (but not fixed) width and height, like so: ...

For the_post_thumbnail() you arguments usage seems wrong, $size is first argument and it doesn’t come in that format ( the_post_thumbnail( array( 240, 170 ); ).