Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › eStore M4a iphone x safari – wont download, tries to play instead but cant
- This topic has 5 replies, 3 voices, and was last updated 6 years, 7 months ago by admin.
-
AuthorPosts
-
April 19, 2018 at 10:02 pm #14834theramsdenMember
Hi,
Our clients wp estore sells some m4a files, and these once purchased, the download links in the email work fine and this plays.
We’ve had an issue reported that on their iphone X, they’ve purchased m4a files and received the links fine via email, but then when they click the link, it tries to play the encrypted url, but just has the play button with a cross through.
They also tried opening a zip file from an encrypted download link, but their phone wouldnt let this extract the file within.
The files are just in the wp-estore downloads folder in subfolders (mp3 folder, m4a folder etc).
Any help appreciated please!
April 19, 2018 at 11:26 pm #77713wzpModerator…when they click the link, it tries to play the encrypted url, but just has the play button with a cross through.
That is due to “Media Disposition.”
They also tried opening a zip file from an encrypted download link, but their phone wouldnt let this extract the file within.
They need some kind of iOS app that will let them open ZIP files.
April 20, 2018 at 9:49 am #77714theramsdenMemberThanks for the link wzp
I did add:
<FilesMatch “.(?i:m4a)$”>
ForceType application/octet-stream
Header set Content-Disposition attachment
</FilesMatch>
to first the main wordpress root .htaccess (didnt work) and then to a .htaccess in the downloads folder, but both still didnt make the iphone X download the file, it just tried to play and caused the play button with cross-through.
Many thanks,
Andy
April 20, 2018 at 10:20 am #77715adminKeymasteriPhone doesn’t support all the video formats so make sure to check that your video plays on an iPhone before you use that video file in eStore. If the file you are offering can’t be played in an iPhone X then using it in the plugin will yield the same result. In that case you need to convert the file to a format that will work in iPhone X. Then use the plugin to deliver that video.
Also, you can take the raw URL of your file (before you use it in eStore) and test it in an iPhone to see how that is handled. That will let you see if the htaccess code is actually working correctly for that file type.
If needed, you can use the digital variation feature of the plugin to deliver different files for different devices (based on what the customer selects at checkout time).
April 20, 2018 at 1:43 pm #77716theramsdenMemberHi,
Thanks for the info. The .m4a file is audio-based and does play on an iphone 10 when the “normal” url is used. It’s only once someone clicks the encrypted email link.
Will keep trying and will let you know how i get on.
Many thanks,
Andy
April 21, 2018 at 5:28 am #77717adminKeymasterSo if you enter the raw URL in iPhone X, does it prompt a download or does it try to play it?
-
AuthorPosts
- You must be logged in to reply to this topic.