简体   繁体   中英

Open Media File In External Player

Is there a way to make a browser open video links in an external player? Similar to how mailto links are handled.

Specifically, I'd like to be able to link to an mp4 file but open an external player specified by the user. Thanks!

Just link to it.

Keep in mind that sometimes that "external player" though is the browser itself, and there's nothing you can/should do about this, if you want to go the "pure" route.

For some players, you could use an M3U file. So, just a text file formatted like this:

#EXTM3U
https://example.com/your-video.mp4

Use application/mpegurl for the content type.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM