Fix transcode type detection and set content-length guessing by default for html5 player when transcoding