Foliovision › Forums › FV Player › Troubleshooting › Player load stuck on three dots in WPMobile App
-
Most likely this is a problem with the WP Mobile plugin but I’m still waiting on a response from them So was hoping you may be able to help.
My videos are not loading within the WPMobile app testing stage on Android phone, just indefinitely stuck loading the three dots.
All videos load perfectly fine on my website, phone browsers and even within the WPMobile app test within iPhone so it’s pretty safe to say its not a problem with FV Player but I was hoping you might know of a setting I could change to work around the issue.
-
-
Hello Willam,
We’re not aware of any similar issue. On which type of Android phone does this happen? Does it also happen on different version of Android?
Judging by the fact it works fine on other platforms, it would be best to wait for a response from WPMobile.App developers if they’ll be able to address what causing the issue. If it’ll be on FV Player’s side we are ready to fix it right away.
Thanks for contacting us, we’ll be waiting for more information,
Making the web work for you,
JurajSo the wp mobile devolper seems to think it’s a problem with either Flow player or vimeo. They also had the same issue on an android but I’m not sure which platform. I’ve tested on a Huawei Y7 and a Sony bravia TV, both of which used to work. I’ve tried reinstalling Flow player and wp mobile and all plugins, WordPress and php are updated. I’m at a loss. Particularly frustrating because this is one of the first features I tested before updating the rest of my sites features to work around these two plugins.
Any suggestions to narrow down the source of this issue would be greatly appreciated? Is it possible to securely send you a login to my wp mobile app so you can see the problem directly?Hello William,
No problem. If the issue is on our side we’ll fix it.
Please try to recreate the issue and check your browser’s JScript console log. If there will be any error messages, please copy and send the to us. Even better would be if you could also add a screenshot of exact parts of the code that the error will refer to.
If you want us to log into your WP back-end and fix the issue for you within few hours you can purchase a Pro Support incident. This way we will be able to track down and fix the issue without your further participation.
Let us know what are our next steps, thanks!
Thanks for using our player,
JurajHere is a screenshot of the errors i found
here are screenshots of the specific code lines
Hello William,
did you just take these screenshots from your browser where you opened the mobile website provided by WP Mobile plugin? Do the videos play there?
I’m not sure how WP Mobile app works, but it can be something entirely different. Does that load the FV Player JavaScript files?
Thanks,
MartinWPMobile Plugin has an option to preview the output of the app in wordpress through the browser as well as on android and ios devices. Yes, the videos do play here but I was hoping that some of these error codes might shed some light on what is happening on the android devices.
I’m quite a novice when it comes to JavaScript or coding so I apologize for my ignorance but I don’t really know how to tell if the WPMobile plugin is loading the JavaScript files. Is there something in FV Player Docs that could guide me?Hello William,
you will have to give this question t o WPMobile developers:
How does it handle wp_enqueue_script()? What about wp_localize_script? Will a typical plugin which uses these calls in wp_footer work fine in the app?
That preview must be only a simple iframe which doesn’t behave the same as a real mobile device running the actual app would.
Thanks,
MartinThis is a response I received from the WPMobile Plugin developer:
———
“This is a user-agent problem.The app have this user-agent: WPMobile.App – Android
Even if I load the website with this user-agent without loading the app interface I get this error:
html5: Unsupported video format. Try installing Adobe Flash.html5 is supported in the app and Adobe Flash is useless now, this is a problem on the Flowplayer plugin..”
—————
Does this make any sense to you? Is there any way I can make my videos play again?Hello William,
Flowplayer uses the user agent string to determine some of the device capabilities.
I tried to the debug page https://foliovision.com/html/flowplayer-support.html with that user agent and I could see it wouldn’t detect it properly.
Is it possible to include the original Android version number in that user agent string? Normally Android gives something like this:
Mozilla/5.0 (Linux; Android 8.0.0; Pixel 2 XL Build/OPD1.170816.004) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Mobile Safari/537.36
So ideally WPMobile would provide:
Mozilla/5.0 (Linux; Android 8.0.0; Pixel 2 XL Build/OPD1.170816.004) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Mobile Safari/537.36 WPMobile.App
Or at least:
WPMobile.App – Android 8.0.0
Thanks,
MartinHello William,
is that the full user agent string of the WPMobile app? You can confirm that here: https://whatsmyua.info/
If that’s it, we could be checking what it reports on https://foliovision.com/html/flowplayer-support.html and see if we can detect it properly. Perhaps we only need to detect it as Android running Chrome, with HTML5 video and fullscreen capability along with muted autoplay and that’s it.
Thanks,
MartinHello William,
we tried to add some code to detect WPMobile app user agent iOS or Android. Please reinstall FV Player from https://github.com/foliovision/fv-wordpress-flowplayer/archive/2263-wechat-204-wpmobile-app.zip and let us know if it helped.
To reinstall the plugin 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.
If you run into any issues, just put back FV Player from WordPress.org.
Thanks,
MartinHello William,
WPMobile Plugin developer said:
The app have this user-agent: WPMobile.App – Android
Even if I load the website with this user-agent without loading the app interface I get this error:
html5: Unsupported video format. Try installing Adobe Flash.So that’s the issue which I was fixing and it did help. Please try to use that “WPMobile.App – Android” to play the video on https://foliovision.com/ and let us know if it won’t work for you. If you are not sure about the user agent change, you can kindly ask WPMobile developer to have a look again. Perhaps he will have another hint too.
Other than that, there might be some caching issue in play. Are you perhaps stripping the query string versions? Here’s why you shouldn’t be doing that – you might be still getting the old FV Player script: https://foliovision.com/2017/06/wordpress-cdn-best-practices
To diagnose that issue you can also try to enable SCRIPT_DEBUG in your WordPress: https://wordpress.org/support/article/debugging-in-wordpress
Thanks,
MartinStill waiting on a response from the WPMobile developer
In the meantime I discovered the same issue with the plugin WordPress Photo Gallery however I managed to fix this by checking “Load FV Flowplayer JS everywhere:” in the FV Player integration settings.
I’ve added a screenshot of the developer elements before checking the box.
Is there a JavaScript that I can paste into the WPMobile plugin (also attached a screenshot of the Custom JS option in WPMobile.
Hello William,
it seems the issue in WPMobile app was fixed: https://wordpress.org/support/topic/fv-flowplayer/page/2/#post-12645795
And I see the videos play for you: https://wordpress.org/support/topic/fv-flowplayer/page/2/#post-12781361
So I’m marking this as solved.
Thanks,
Martin