Open external file hosted on site, with external application?

Hi everyone.

I have a question, I have tried many options, but I cant do it …

How can I open external file hosted on site, with external application?
File as a video, or pdf, or mp3…

use in app browser plugin to open it within app.

https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-inappbrowser/