As far as I know, this is a browser preference. In Safari, they will show in the browser, unless the user has disabled it using:
defaults write com.apple.Safari WebKitOmitPDFSupport -bool YES
On Windows, it largely depends on whether the Adobe Acrobat Reader is installed and configured to load it into the browser.
Best regards
Peter De Berdt