show video poster if is embed && use js-beautify to beautify the code