Prettier embeds for your YouTube videos with nice options like high-res preview images and advanced customization of embed options with optional FitVids support.

Features

– Choose from one of eight thumbnail sizes
– Implement programmatically or via HTML5 data- attributes

Requirements

– jQuery
waitForImages

There are two methods of implementing PrettyEmbed.js – an HTML5 driven method, and a script driven method.

PrettyEmbed

[gpp_button color=”blue” url=”http://codepen.io/mike-zarandona/full/FELxi/” title=”embed youtube” icon_left=”external” target=”_blank” size=”medium” display=”inline”]DEMO[/gpp_button]    [gpp_button color=”blue” url=”https://github.com/mike-zarandona/PrettyEmbed.js” title=”embed youtube” icon_left=”cloud-download” target=”_blank” size=”medium” display=”inline”]GitHub[/gpp_button]