This XBlock provides an easy way to embed a PDF.
- Download button available
- (Optional) Source document download button, for example to provide your PPT file
- By default, PDF Download Allowed is set on True. The default value can be changed in
pdfXBlock / pdf / pdf.py
- Clone reposotory in below path /tutor/env/build/openedx/requirements Add "-e ./pdfXBlock" in private.txt if private.txt not there create one
Go to Settings -> Advanced Settings
and set advanced_modules
to ["pdf"]
.
Select Advanced -> PDF
in your unit.