简体   繁体   中英

How can I have an .mp3 file on my site open in an app that plays MP3's?

I publish MP3s on my site. Since my audience prefers to listen to those MP3s on their iPhones, they tend to 1) download my files, 2) open up iTunes, 3) find the app folder, and 4) drag my MP3 to the audio app of their choice.

It's a tough process.

But they don't want to listen to my MP3s is their iPhone's browser and I can't get all my MP3s into a podcast.

So, I was wondering if there's a URL scheme that would let my readers, click a link on my site and have it automatically open the corresponding MP3 in a program like Apple's Podcast or Downcast or even send it to Dropbox.

这个问题听起来很有趣,答案是您必须知道第三个应用程序的方案,该方案包含url参数,而且第三个应用程序必须支持在线播放mp3文件,并且已经在用户的iPhone中启动。

Yep!

There's the "music://" URL schema that opens iPod/Music app. I just don't know if it's valid to content from web, but you can try it out.

Check more information here: http://wiki.akosma.com/IPhone_URL_Schemes#Music_.2F_iPod

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM