Merge pull request #154 from marvinhagemeister/fix_window_usage

Get the proper reference to window on initialization.
This commit is contained in:
Sam Potts 2016-01-28 09:19:25 +11:00
commit dae5fb9785

View File

@ -21,7 +21,7 @@
// Browser globals (root is window)
root.plyr = factory(root, document);
}
}(this, function(window, document) {
}(typeof window !== 'undefined' ? window : this, function(window, document) {
'use strict';
/*global YT,$f*/