better handling of absolute_path in html media elements