用于M4a的网络音频播放器 [英] Web audio player for M4a

查看:729
本文介绍了用于M4a的网络音频播放器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Google播放器在我的网络中播放mp3文件:

i am playing mp3 file in my web with google player :

http://www.google.com/reader/ui/3523697345-audio-player.swf

我无法使用此播放器播放m4a档案

and i can't playing m4a files with this player too.

有什么方法可以用这个播放器播放m4a文件?或者有另一个玩家在我的浏览器中播放m4a文件?

there is any way to play m4a files with this player too? or there is another player to play m4a files in my browser?

这就是我如何使用播放器:

this is how i am using the player:

<embed type=\"application/x-shockwave-flash\" flashvars=\"audioUrl=songUrl&autoPlay=true\" src=\"http://www.google.com/reader/ui/3523697345-audio-player.swf\" width=\"400\" height=\"27\" quality=\"best\"></embed>


推荐答案

这个,这有点儿的一个复杂问题:Flash(您的音频播放器以及当前网络上的大多数其他技术所基于的技术)能够播放MPEG-4内容,但仅在声明内容视频时才能播放音频。为什么是这样,我不知道。

According to this, this is a bit of a complex issue: Flash (the technology your audio player, and most others on the web currently, is based on) is able to play MPEG-4 content, but only when declaring the content video, not audio. Why this is, I have no idea.

如果您可以找到适合的Flash video 播放器,则可以播放M4A声音文件您的需求。或者,考虑使用HTML 5音频。

You may be able to play M4A sound files if you can find a Flash video player that suits your needs. Alternatively, consider using HTML 5 Audio.


更新: jPlayer 是一款基于jQuery / Flash / HTML5的音频播放器,声称可以播放MPEG-4音频内容。你应该可以使用它。

Update: jPlayer, a jQuery/Flash/HTML5-Based audio player, claims to be able to play MPEG-4 Audio content. You should be able to use that.

这篇关于用于M4a的网络音频播放器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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