fixes the plugin startup error

The change fixes the error that prevents the plugin from starting. Some videohosters are not useable atm and cause errors.