Pdf display error

Hi !
I used pdf.js to display a one page pdf in a html widget.
It works fine in hype, but when I click on the safari preview, the pdf is not shown and the console gave me a 404 error.
So I tried another way by setting the widget url to my pdf which is in the resources directory.
The result is the same.
I have the same issues when exporting to folder and run it on my ipad with phonegap.

Is this some king of server issue ?

Any ideas ?

thanks