English 中文(简体)
Jquery - 寻找处理音频文件的办法[封闭]
原标题:Jquery - Looking for a solution to play audio files [closed]
  • 时间:2011-11-20 16:16:59
  •  标签:
  • jquery
  • audio

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 8 years ago.

My website is about sharing music files and putting it for download. My main goal is having a audio player on the page to play mp3 files on the page which user desires.

例如,在本周,我张贴了10个Eminem音乐文档。 书状3文档有10个链接,正确吗? 但用户并不相信他/她会喜欢什么。 因此,在开始下载所有数据之前,他们希望首先在同一页上这样做。

我知道,他们是能够发挥单一或游戏作用的很多闪电分子。 我知道,有线人为每一环状3链接增加了参与者......等。

The thing is that I want to have only 1 player on the main page, and when user click the play button on link,not the player itself ===> ex. Eminem 8 Mile (play) The player start playing that link.

So :

  • 我没有一位参与者指出个人档案。

  • 我没有一位参与者指出一名演员。

  • www.un.org/Depts/DGACM/index_spanish.htm 我确实想起一个角色,开始在网页上打上任何被点击的头巾,然后更新或进入一个新的链接。

Is there any plugin/script like this ?

最佳回答

这里的奥基是我实现网上参与者的目标。

As for adding a play button next to each mp3 link, I used a simple .each and .after function to do this. Here is a simple code :

$("#Post_Content_Div").find( a[href$="mp3"] ).each(function() {
$(this).after( <a class="mp3play" href="javascript:Play(  + this.href +  );"></a> );
});

为了发挥这一作用,我使用了JW ,该功能已建在网页上,能够动态地进行档案。 这里是一部简单的法典:

function Play(url){
  jwplayer( mediaspace ).setup({
     flashplayer :  player.swf ,
     file : url,
     controlbar :  bottom ,
     autostart :  true ,
...
}

这就是说。 我正在寻找一些走出盒子的东西。 但没有这样的东西。 我只用了很少的 j子、 c子和 j子手法。

问题回答

暂无回答




相关问题
Playing a Sound With Monotouch

No matter what I try (build -> content, NSUrl, filename) I get a null exception : file not found when I try to play a .caf sound file in monotouch. //var path = NSBundle.MainBundle.PathForResource("...

将音频Clips从Peter改为服务器

我不禁要问,那里是否有任何实例表明从Peit向服务器发送音响。 I m不关心电话或SIP风格的解决办法,只是一个简单的袖珍流程......

Play sound in iPhone web app with Javascript?

I m currently creating an iPhone web application for piano chords, and I wanted to add an option that would let the user press a Play button and play the selected chord. However, I m not sure how to ...

热门标签