/**
* The main API for minPlayer.
*
* Provided that this function takes three parameters, there are 8 different
* ways to use this api.
*
* id (0x100) - You want a specific player.
* plugin (0x010) - You want a specific plugin.
* callback (0x001) - You only want it when it is ready.
*
* 000 - You want all plugins from all players, ready or not.
*
* var instances = minplayer.get();
*
* 001 - You want all plugins from all players, but only when ready.
*
* minplayer.get(function(plugin) {
* // Code goes here.
* });
*
* 010 - You want a specific plugin from all players, ready or not...
*
* var medias = minplayer.get(null, 'media');
*
* 011 - You want a specific plugin from all players, but only when ready.
*
* minplayer.get('player', function(player) {
* // Code goes here.
* });
*
* 100 - You want all plugins from a specific player, ready or not.
*
* var plugins = minplayer.get('player_id');
*
* 101 - You want all plugins from a specific player, but only when ready.
*
* minplayer.get('player_id', null, function(plugin) {
* // Code goes here.
* });
*
* 110 - You want a specific plugin from a specific player, ready or not.
*
* var plugin = minplayer.get('player_id', 'media');
*
* 111 - You want a specific plugin from a specific player, only when ready.
*
* minplayer.get('player_id', 'media', function(media) {
* // Code goes here.
* });
*
* @this The context in which this function was called.
* @param {string} id The ID of the widget to get the plugins from.
* @param {string} plugin The name of the plugin.
* @param {function} callback Called when the plugin is ready.
* @return {object} The plugin object if it is immediately available.
*/
minplayer.get = function(id, plugin, callback) {
};
Nota: Visita el Blog de Zheard - Best Free Responsive Blogger Template.