且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

播放MP3文件,而下载?

更新时间:2023-01-18 16:41:52

有关Android设备2.3和更早版本,你需要完全删除内容处置响应头。这将导致浏览器调用的用户的preference音频播放器。

For Android devices 2.3 and earlier, you need to remove the Content-Disposition response header altogether. This will cause the browser to invoke the audio player of the user's preference.

尝试在这里: http://declinefm.com/archives 选择您所选择的档案,然后点击下载链接。

Try it here: http://declinefm.com/archives select an archive of your choice, and tap the download link.

有关现代的Andr​​oid设备,你可以去除CD标题的分配。

For modern Android devices, you can dispense with the removal of the CD header.

我有一个教程在这里,我写的启发您的文章:

I have a tutorial here that I wrote inspired on your post:

http://rudd-o.com/linux-and-free-software/how-to-properly-stream-audio-from-your-plone-varnish-site

享受!