parameter global as array for mediaElements