I have a pdf generator that saves a pdf locally and I am able to read that pdf and get the base64 bytes and show it via the <object data="data,application/pdf;base64 ...