Plug 'n Play Vimeo and YouTube API

You can use a regular ole' iframe embed
HTML:
<!-- file.html -->
<iframe id="plainYoutube" width="560" height="315"
 src="https://www.youtube.com/embed/aADExWV1bsM" 
 frameborder="0" allowfullscreen>
 </iframe>
    
JS:
// Basic usage with existing iframe
// I have omitted the button push logic here.

var plainYoutube = new vcr({
        el: 'plainYoutube'
    })
plainYoutube.player.addEventListener('vcr:ready',function(){
    plainYoutube.play();
});
    
Or you can just use a straight youtube or vimeo URL; no need to set anything! No markup required, we'll generate that.
JS:
// No HTML iframe needed, it's prepended to .injectEmbed selector
// I have omitted the button push logic here.

var injectEmbed = new vcr({
    //el: '' // el is optional, we'll generate one
    url: 'https://vimeo.com/60821380',
    prependTo: '.injectEmbed',
    width: '560',
    height: '315'
});


 injectEmbed.player.addEventListener('vcr:ready', function() {
    injectEmbed.play();

    // pause after ~5 seconds on each button click (in demo)
    setTimeout(function() {
        injectEmbed.pause();
    }, 6000);
});