Skip to content

Instantly share code, notes, and snippets.

View vinodronold's full-sized avatar

Vinod Ronold vinodronold

  • New Jersey
View GitHub Profile
@vinodronold
vinodronold / youtubePlayer
Created November 12, 2016 00:39 — forked from broekema41/youtubePlayer
Encapsulate the Youtube Iframe API with RequireJS
/**
* This module uses global declared functions to communicate with the youtube api (iframe)
* Communication to parent (implementation) modules is done with jquery trigger.
*
* basic exsample:
* <div class="video-wrapper">
* <div id="unique-id-here"
* </div>
* </div>
*