updated codec to html