added cross origin headers to localfile and transcode, this makes subtitles work