[brightcove] Make sure that the 'ext' variable is set (fixes #4360)