本文介绍了如何在asp中播放Mp3声音的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
-SA
You can use Windows Media Player control:
msdn.microsoft/en-us/library/bb248593%28VS.85%29.aspx[^],
msdn.microsoft/en-us/library/dd563946%28VS.85%29.aspx[^].
You can find wrappers for 3rd-party or Open Source players. For example, look at one for VLC:
en.wikipedia/wiki/VLC_media_player[^],
wiki.videolan/.Net_Interface_to_VLC[^].
Now, low-level: please see this CodeProject article: A low-level audio player in C#[^].
This is the updated useful information on the VLC component binding for.NET:
sourceforge/projects/libvlcnet/[^],
wiki.videolan/C_Sharp/[^],
wiki.videolan/.Net_Interface_to_VLC/[^].
Notably, you can find material for using the component for both WPF and System.Windows.Forms.
—SA
嗨。我想点击我的 asp网页上的特定按钮播放mp3或任何类型的声音。如果有人知道这个PLZ,请发送给我的代码 [emailremoved] 感谢你...
Hi.Iwant to play mp3 or any type of sound on clicking a particular button in my asp web page..If any one knows about this plz send me the code at [emailremoved] Thanking You...
推荐答案你好结帐这个链接 geekswithblogs/ranganh/archive/2008/09/19/asp-mediaplayer-control---playing-audio-files.aspx [ ^ ] 希望它有所帮助! 如果解决了这个答案你的问题 谢谢.. Hi checkout this link geekswithblogs/ranganh/archive/2008/09/19/asp-mediaplayer-control---playing-audio-files.aspx[^] hope it helps! mark this answer if it solved your problem thanks..
你可以使用Windows Media Player控件: msdn.microsoft/en-us/library/bb248593%28VS.85%29.aspx [ ^ ] , msdn.microsoft /en-us/library/dd563946%28VS.85%29.aspx [ ^ ]。 您可以找到第三方或开源播放器的包装器。例如,查看VLC的一个: en.wikipedia/wiki/VLC_media_player [ ^ ], wiki.videolan/.Net_Interface_to_VLC [ ^ ]。 现在,低级别:请参阅此CodeProject文章: C#中的低级音频播放器 [ ^ ]。 这是关于.NET的VLC组件绑定的更新有用信息: sourceforge/projects/libvlcnet/ [ ^ ], wiki.videolan/C_Sharp/ [ ^ ], https:// wiki。 videolan/.Net_Interface_to_VLC/ [ ^ ]。 值得注意的是,您可以找到使用WPF和 System.Windows.Forms 组件的材料。
尝试使用这个html5标签: Try using this html5 tag: <audio src="song.ogg" controls="controls"> Your browser does not support the audio element. </audio>
供您参考: www.w3schools/html5/ [ ^ ] 如果它解决了您的问题,请将此标记为正确的解决方案。 祝你好运, Eduard
For your reference: www.w3schools/html5/[^] Please mark this as correct solution if it fixed your problem. Best regards, Eduard
更多推荐
如何在asp.net中播放Mp3声音
发布评论