Foliovision › Forums › FV Player › How to … › Audio not playing in sleep mode on iPhone
-
-
Hello Crystal,
You can try to reinstall FV Player from the following ZIP file and see if that makes it work: https://github.com/foliovision/fv-wordpress-flowplayer/archive/audio-shortcode.zip
To do that you will have to first deactivate and delete the current FV Player plugin you are using. WordPress will warn you that you might loose settings and data, but it’s not the case with our plugin, no settings now videos will be lost. Or you can just replace the plugin files via FTP.
It should work if you are using .mp3 files. We could add this as a “Handle WordPress [audio] shortcodes.” setting.
Let us know if it worked for you.
Thanks,
JurajWith this “custom” version of FV Player, you can automatically overwrite audio shortcodes with “Handle WordPress [video] shortcodes” option at:
Settings -> FV Player -> Integrations/Compatibility -> Handle WordPress [video] shortcodes
We will add another ” Handle WordPress [audio] shortcodes” checkbox if this solution will work for you. We’ve decided to hide it inside the “Handle video shortcodes” potion to save time and work.
Thanks,
JurajHi Crystal,
We’re glad that this solution has worked for you. We’ll add it as permanent feature in the next release of FV Player so don’t worry to update your player.
For the iPhone problems: This should not happen, we’ll have a look at that. What kind of browser are you using on your iPhone? Also, what’s the version of your iOS? Thanks!
Making the web work for you,
JurajI have tested it in our app. We use a plugin for wordpress to make an app. Sounds like it’s that plugin. Odd because it doesnt do that when playing a video, just audio. I’ve reached out to the maker of that plugin but unfortunately I’m having issues with support from them with submitting the app. Thank you for going above and beyond anything we have asked!!! I’ve never had this stellar customer support before you guys!!! We are so appreciative!
Hi Crystal,
Many thanks for all the nice words.
As I said earlier it is working fine in browser and it might be probably caused by that application plugin. However, I’ll talk to our Senior programmer Martin if there’s anything we can do about it and I’ll keep you posted about it.
Contacting the app plugin developers is probably the right move in this situation. Let us know what the’ve said.
Thanks for being part of the Foliovision,
JurajPlease forgive me if I’m getting into more than what you wanted. I spoke with the app maker and they sent me this article. Only thing is that this requires a resubmission to the app stores once we apply this fix. We originally paid for their service to submit to the stores because I dont have a mac computer and I cant use test flight to test the app out. We asked them to resubmit but I dont habe anyway of testing the app before submission and they wont test it for us. We hate to pay them a large amount to resubmit this and have no way of testing. I was hoping that audio played through your player would work because video works without cutting out on iphone. Make sense to me but it’s not working out that way. If you have any ideas please let me know but if not then I understand. You guys have tried to help and I appreciate that so much!
Here is the article:
No sound for video or audio, play audio in background
By default, your app only plays audio if the phone is not on silent mode.
If you’d like to bypass this setting and play audio even when the phone is on silent mode, you can add the Cordova Background Audio plugin.
Visit your app customizer Settings tab, and scroll down to PhoneGap config.xml custom code. Add this code:
<plugin spec=”https://github.com/EddyVerbruggen/cordova-plugin-backgroundaudio.git” />
Screenshot:
Rebuild your project and test on a device, it will now play audio even on silent mode.
https://docs.apppresser.com/article/449-no-sound-for-video-or-audio