WordPress.org

Ready to get started?Download WordPress

Forums

Download Shortcode
[resolved] Download links on iPhone playing not downloading (3 posts)

  1. kimberly.leclair
    Member
    Posted 1 year ago #

    Plugin works great and really saved a project I was working on - so thank you!

    Curious if you have any thoughts on the following behavior when visiting site from iPhone -

    Visit site - click download link - instead of download the mp3 (that is the format of this file) just starts to play....I assume there is some unsupported something going on - but I'm curious if you have any thoughts on this?

    Thanks.

    http://wordpress.org/extend/plugins/download-shortcode/

  2. Drew Jaynes (DrewAPicture)
    Volunteer Moderator
    Plugin Author

    Posted 1 year ago #

    Hi Kimberly,

    I'm glad it helped you out with your project.

    Sounds like the iPhone isn't accepting the modified headers that get sent which tell the browser to download instead of play. It seems like almost "expected" behavior with an iPhone though. Let me see what I can find out about it.

    Edit: As I suspected, it's not possible for the Mobile Safari browser to download a file from a website to the library because of Apple's restrictions on access.

  3. kimberly.leclair
    Member
    Posted 1 year ago #

    Thanks for getting back - So a few things:

    1) Yeh, it makes sense when you think about it that the iPhone browser just "plays" - where would it put the file? So when you really think about it it makes sense I think.

    2) The weirdness of this whole thing is this - when I have the Download Shortcode wrapped around the mp3 - the file will 'stop playing' in the middle but only when on headphones. Weird right? I did some research - here is my suspicion --- when the Download Shortcode is used, it is initiating some background process that eventually fails on the iPhone - when the 'fail' happens it disrupts the headphone feed. Sounds so weird and random - but you can read about people complaining about non-iTunes mp3 files playing strangely on headphones.

    My solution has been to include 2 links - one that has the download shortcode and one that doesn't - the 'plain' link I have marked as "play now" - and when you use that link there is no disruption in playing when on headphones.

    Oddly - both options will play fine when NOT on headphones -- but the 'download shortcode wrapped' version will not show the length of the file.

    You can see this behavior yourself - the page is: http://partnersinmindfulliving.com/fun-stuff-extras/audio-recordings/

    Anyways - this is such a random little thing and this is probably too much information - but I spent some time yesterday so thought I would just pass that along.

    I do still Love the Download Shortcode plugin - it works like a champ and I will for sure use it again. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.