Adding function to theme to display YT video in post

I need to add custom function to blog post that will display video from Youtube using custom fields in post.
Custom field name is youtube_video and value should contain video ID.

Theme is available in chat transcript.