register staticmedia