Last active
March 2, 2016 00:29
-
-
Save andergmartins/99095e76c81e2e049921 to your computer and use it in GitHub Desktop.
Wistia Player Custom Plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @package MyPlugin | |
* @license http://www.gnu.org/licenses/gpl.html GNU/GPL | |
*/ | |
/* global Wistia */ | |
Wistia.plugin('myplugin', function(video) { | |
// Wait for the video element to be fully loaded | |
interval = setInterval(function() { | |
// Your magic goes here | |
}, 500); | |
return { | |
'myplugin': this | |
}; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment