Added HTML5 video support to youtube plugin

Added function to convert various youtube URL formats to standard embed format, modified JS template to output youtube iframe code to gain HTML5 video support on modern devices.