This demo shows how you can load an existing plugin.
Clara.io demo resources:
Visit Base Scenevar sceneId = 'feb00a1c-2c22-49c2-bd57-319d26831363';
var api = claraplayer('player');
api.sceneIO.fetchAndUse(sceneId);
api.on('loaded', function() {
document.getElementById('load').onclick = function() {
api.plugins.loadPlugin('pluginDemo');
document.getElementById('baseScene').setAttribute('href','https://clara.io/view/'+sceneId);
}
});