html5流m3u电台播放器 [英] html5 stream m3u radio player

查看:765
本文介绍了html5流m3u电台播放器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用m3u格式构建HTML5音频播放器时遇到问题。
有没有人遇到过类似的问题?请告诉我它是如何解决的?

I have a problem with building HTML5 audio player using m3u format. Has anyone encountered a similar problem? Please tell me how it can be solved?

我尝试这样做:

< audio id = audio-playersrc =http://fm101.uz:9900/mobile.m3utype =audio / aacpcontrols =controls> < / audio>

推荐答案

使用真正的 url ,你可以发现这个 url 在winamp(或其他人)上打开 m3u 文件音频程序)并在播放列表窗口中,右键单击属性,您可以看到 http://fm101.uz: 9900 / fm101_high 或类似的东西。

Instead of the m3u extension use the true url, you can discover this url opening the m3u file on winamp (or another audio program) and on the playlist window, right-click, properties and you can see "http://fm101.uz:9900/fm101_high" or something similar.

<audio src="http://fm101.uz:9900/fm101_high" controls="controls"> </audio>

http://jsfiddle.net/h4oo9012/1/

这篇关于html5流m3u电台播放器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆