Ideas for getting rid of Global config object

eek. That’s a shame. I was going to suggest the same thing as felgall. I figured it would be the least disruptive to how things currently work. Something like…

var baseConfig = {
    'ck': '...',
    'nk': '...',
    'etc': '...',
};

var videoPluginConfig = Object.create(baseConfig);

// reading ck inherits from base
console.log(videoPluginConfig.ck);

// writing ck affects only videoPluginConfig
videoPluginConfig.ck = 'special_context';