Render PDF in Angular 4+
Vadym Yatsyuk

Thank Vadym,

Can you please tell how I can dynamically bind an url?

In TS,

this.pdfSrc={url:”https://sharepointdummy/test.pdf, withCredentials: true}

In html,

<pdf-viewer src=”pdfSrc" ></pdf-viewer>


Failed to load The value of the ‘Access-Control-Allow-Origin’ header in the response must not be the wildcard ‘*’ when the request’s credentials mode is ‘include’

Thanks in advance,


One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.