简体   繁体   中英

Embedding Media Players for streaming audio

I already know that there are flash and html5 players that can effectively stream a shoutcast source. I also know that I can simply add a link to the .pls and have it open. I know that I can't force a specific player to be used on a users system. I've looked through various questions on this site and haven't actually found a solution. I know that if I use a simple href command and point it to an m3u file I can pop open a window and then it will load whatever audio player a user has set as a default player. What I would like to do is provide a way for a person to click on a link for a specific type of player and then have that open an embedded player of that type. If the user does not have that plug-in or player installed it will offer the option to dowload and install. I've figured out how to embed a windows media player and a quicktime player but I haven't yet figured out how to embed real audio or a "default" (winamp vlc media) player. I'm hoping someone has an idea on how to accomplish this. Thanks.

您需要做的就是嵌入正确的内容,系统将使用已注册自身的任何插件来处理该内容类型。

<embed src="somefile.ra" />

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