Display Pdf on Output Template

I have created a flow service that accepts a pdf file and coverts it to base64binary. How do I display this pdf on a browser as part of the Output template? I was able to acheive the same for image by using following html code:-

<img src="data:image/gif;base64,%value Base64Image%
alt=“Base64 encoded image” width=“150” height=“150”/>