PDF viewing with apex_util.get_blob_file_src not working with 4.0
I'm in the process of upgrading an app to 4.0 (from 3.2) - on 11.2 database. I've noticed that the inline PDF viewing has stopped working. It was generated by the PL/SQL process below. In 4.0 it does not display anything in the page region. Anyone any ideas (or any better suggestions on how to view embedded pdfs)?
htp.prn('
<div style="">
<embed height="600" width="800" name="embed_content" src="'|| apex_util.get_blob_file_src('P5_BLOB_CONTENT', :P5_FILEID)||
'" type="application/pdf" />
</div>
');
Thanks
Simon