Fixes issue with E_NOTICE being thrown for adapter functions.
Fixes issue with E_NOTICE being thrown for adapter functions.

kolzchut/mediawiki-embedvideo,chapatiyaq/mediawiki-embedvideo,kolzchut/mediawiki-embedvideo,Alexia/mediawiki-embedvideo