Uncaught error: Error(Call to undefined function customMediaRL())