-
Hello,
the video on this page does not work on Firefox
https://….com/lost-password-username/
Moreover it shows Foliovision logo which should not happen.
Foliovision › Forums › FV Player › Troubleshooting › Problems with minify in footer
Hello,
the video on this page does not work on Firefox
https://….com/lost-password-username/
Moreover it shows Foliovision logo which should not happen.
Hi Sergio,
as our licensed user, I checked your site.
I see an error on your JavaScript console: “TypeError: window.initFlowplayer is not a function”
The function is called from within this JS file: https://….cloudfront.net/…//cdn.foliovision.com/fv-flowplayer.min.defer.js?v=2
It appears you are using some complex minify solution. That’s probably breaking it. Please let us know what exactly you use and then we can come up with some recommendation.
But in general – flowplayer.conf JavaScript gets adjusted in wp_footer hook with priority 100, that means after all scripts have been loaded (footer JavaScript gets outputted with priority 10).
However I see that we can improve this by using wp_localize_script() – standard WordPress API function. The problem is that we need to write directly into flowplayer object, but I now realize we can merge the localized variables into that. We can improve that and it should help, but I’m not exactly sure what you are trying to achieve here. If somebody is helping with your customized Minify, could you please confirm with them if wp_localize_script() will help?
Making the web work for you,
Martin
The following are some comments form one of our developers:
Regarding Flowplayer, if you want to pass them some recommendation, here are my suggestions:
“Avoid inserting any inline JavaScript code into the page. If you need to pass variables, no problem doing so either manually either using “wp_localize_script()”, but please don’t include any actual working script that depends on external JavaScript file to be present in order to work properly.
I understand that you include a call to jQuery(‘#selector’).flowplayer(…) into the page at the place where the actual video player is embedded, but this isn’t the best practice.
I hope that helps ;)
Also – Logo does not show up on playlists but it appears on single videos.
Hi Sergio,
1) We fixed the problem with logo. It was related to the issue with minify.
2) We also removed any jQuery() or flowplayer JavaScript references from the site HTML. It’s all done via wp_localize_script() now, like your minify experts recommend. Now there should be no more issues.
Please download the ZIP file here and then install: https://wordpress.org/plugins/fv-wordpress-flowplayer/
Thanks,
Martin
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.
Strictly Necessary Cookie allow you to log in and download your software or post to forums.
We use the WordPress login cookie and the session cookie.
If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.
Foliovision.com uses self-hosted Rocket.chat and self-hosted Freescout support desk to provide support for FV Player users. These cookies allow our visitors to chat with us and/or submit support tickets.
We are delighted to recommend self-hosted Rocket.chat and especially Freescout to other privacy-conscious independent publishers who would prefer to self-host support.
Please enable Strictly Necessary Cookies first so that we can save your preferences!
This website uses Google Analytics and Statcounter to collect anonymous information such as the number of visitors to the site, and the most popular pages.
Keeping this cookie enabled helps us to improve our website.
We reluctantly use Google Analytics as it helps us to test FV Player against popular Google Analytics features. Feel free to turn off these cookies if they make you feel uncomfortable.
Statcounter is an independent Irish stats service which we have been using since the beginning of recorded time, sixteen years ago.
Please enable Strictly Necessary Cookies first so that we can save your preferences!