I want to embed pdf in moodle as an embedded application.
1. When i am trying to link a pdf using "Link to a file or web site", nothing is showing on the page except summary text.
2. When i am trying to link pdf using "Compose a web page" using this code
"<object height="400" width="500" src="http://localhost/moodle/file.php/2/How_to_use_Source.pdf" type="application/x-pdf">
</object>"
it shows an empty screen without pdf file on clicking "Save and Display" button and code gets disappear in the resource updation screen on next view in internet explorer.
Please suggest any solution to embed pdf in moodle.