如何使用flash mp3播放器将播放列表用于asp.net的在线广播网站? [英] How can I use flash mp3 player for playlist for online radio site with asp.net?

查看:85
本文介绍了如何使用flash mp3播放器将播放列表用于asp.net的在线广播网站?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想做无线电网站所以首先在项目中创建播放列表文件夹,这样所有mp3文件都会在播放列表文件夹中。



其次我想找到flash mp3播放器启动和停止自动播放循环属性将是。我找到了它。



http ://www.alsacreations.fr/dewplayer-en [ ^ ]



但是这个播放器使用xml文件播放播放列表。

 <?  xml     version   =  1.0   编码  =  UTF-8  >  
< 播放列表 version = 1 xmlns = http://xspf.org/ns/0/ >
< trackList >
< track > < location > file:///playlist/song_1.mp3 < / location > < / track >
< track > < 位置 > file:///playlist/song_2.mp3 < / location > < / track >
< 跟踪 > < location > file:/// playlist / s ong_3.mp3 < / location > < / track >
< / trackList >
< / playlist >





如何为项目中的播放列表文件夹中的mp3提供路径?

或我怎样才能做???



可能是我可以设置一个Windows媒体服务器创建播放列表所有mp3都可以发送那里。所以路径就像http://192.xxx.xxx .xx /播放列表我不知道我可以这样做或者我可以用这个播放器播放mp3 ...

解决方案

使用此处你想播放文件..



 S. erver.MapPath( 〜/您的文件路径); 


I want to do radio site so first create playlist folder inside project so all mp3 file will be inside playlist folder.

Secondly I want to find flash mp3 player start and stop autoplay loop properties will be.I found it.

http://www.alsacreations.fr/dewplayer-en[^]

but here this player run with xml file for playlist.

<?xml version="1.0" encoding="UTF-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
    <trackList>
        <track><location>file:///playlist/song_1.mp3</location></track>
        <track><location>file:///playlist/song_2.mp3</location></track>
        <track><location>file:///playlist/song_3.mp3</location></track>
    </trackList>
</playlist>



how to give paths for mp3s inside playlist folder in project?
or how can I do ???

may be I can setup a windows media server create playlist all mp3s can send there.So path like that http://192.xxx.xxx.xx/Playlist I dont know can I do like that or can I play mp3s with this player...

解决方案

use this where you want to play file..

Server.MapPath("~/your file path");


这篇关于如何使用flash mp3播放器将播放列表用于asp.net的在线广播网站?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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