在ASP.net中播放音频文件 [英] Playing Audio File in ASP.net
本文介绍了在ASP.net中播放音频文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
我已将音频文件添加到数据库中,我想知道如何允许访问者在线收听文件?
在此先谢谢您.
Hi
I have added Audio Files into my database , i would like to know how would i be able to allow visitors to Listen to the files online?
Thanks in advance.
推荐答案
在 ^ ]中播放+音频+文件+
请参考:
C#中的低级音频播放器 [ C#中的DirectShow MediaPlayer [
Check out similar QA in CP Search[^]
Have a look for reference:
A low-level audio player in C#[^]
DirectShow MediaPlayer in C#[^]
您可以使用库WMPLib.dll
.这将为您的页面创建Windows Media Player控件.
检查这些链接.
如何在asp.net c#中播放音频文件 [ ^ ]
以编程方式创建Windows Media Player控件 [ ^ ]
在Microsoft Visual Studio中使用Windows Media Player控件 [ ^ ]
希望对您有所帮助.
Hi,
You can use the LibraryWMPLib.dll
. this will create the Windows Media Player Control to your Page.
check these links.
How to play audio file in asp.net c# [^]
Creating the Windows Media Player Control Programmatically [^]
Using the Windows Media Player Control with Microsoft Visual Studio[^]
Hope it helps.
这篇关于在ASP.net中播放音频文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文