Switch from <embed> tag to <object> tag for pdfs