Refactored videopassthrough plugin to use Configs.