• Skip to content
  • Skip to primary sidebar
  • Skip to footer

Foliovision

Main navigation

  • Weblog
    • FV Player
    • WordPress
    • Video of the Week
    • Case Studies
    • Business
  • About
    • Testimonials
    • Meet the Team
    • We Support
    • Careers
    • Contact
    • Pricing
  • Products
  • Support
    • FV Player Docs
    • Pro Support
  • Login
  • Basket is empty

fv player not working inside the WPLMS pwa

Foliovision › Forums › FV Player › Troubleshooting › fv player not working inside the WPLMS pwa

  • brayan l. 3 years, 5 months ago

    Hello, I just purchased the pro license of your player, however it is not working on the progressive web app with the WPLMS LMS, the free version used to work very well, is there any settings that I need to enbale to make it work????

Viewing 21 replies - 1 through 21 (of 21 total)
  • Pavel Soral 3 years ago
    Avatar photo

    Hello Brayan,

    thank you for reaching out to us.

    In order to help you, could you please describe what is the nature of your issue in detail and elaborate how does the player bahave?

    Thanks,
    Pavel

    brayan l. 3 years ago

    thank you for your reply, the video keeps loading but does not play ALL i got is the loading animation

    Martin 3 years ago

    Hello Brayan,

    so does the issue only occur on your mobile phone app and everything works on your website?

    How does your mobile app show your website content?

    What video type did you use with the free version and what do you use with FV Player Pro? Did you perhaps switch from MP4 to Vimeo or so?

    Please let us know.

    Thanks,
    Martin

    brayan l. 3 years ago

    Progressive web app=pwa i’M NOt talking about any mobile app, can you please send me an email where I can send you my site details so you can check?

    brayan l. 3 years ago

    the same videos, I did not change the videos, mp4 videos.
    I have added a code the the author of wplms published on its site:
    add_action(‘wp_enqueue_scripts’,function(){
    ?>
    <script>
    document.addEventListener(‘unit_loaded’,function(){
    document.querySelectorAll(‘.flowplayer’).forEach(function(element){
    flowplayer(element,JSON.parse(element.getAttribute(‘data-item’)));
    })
    });
    </script>
    <?php
    });
    but it does not work,

    brayan l. 3 years ago

    please refer to this image

    https://foliovision.com/images/2021/11/Screenshot-2021-11-12-at-16.47.28.png
    https://foliovision.com/images/2021/11/Screenshot-2021-11-12-at-16.22.31.png

    Martin 3 years ago

    Hello Brayan,

    please try to use this code instead:

    document.addEventListener('unit_loaded', function(){
        fv_player_load();
    });
    

    That should already check all the instances and load what’s necessary.

    If that won’t help, here’s a variation:

    document.addEventListener('unit_loaded', function(){
      setTimeout( fv_player_load, 10 );
    });
    

    If that won’t help then please try to reinstall FV Player Pro, as I put in a fix into it.

    To do that first deactivate and delete the FV Player Pro plugin you are using (no data will be lost), then hit “Install Pro extension” at the top of the wp-admin -> Settings -> FV Player screen. That will reinstall the plugin and give you the update version.

    Then switch to the Beta release using the steps from here: https://foliovision.com/player/basic-setup/switching-fv-player-pro-to-beta

    Thanks,
    Martin

    Martin 3 years ago

    Please note I had to fix these quote symbols.

    Thanks,
    Martin

    brayan l. 3 years ago

    Hello thank you for this, however this did not solve the issue, I will contact you again this monday! have a good weekend.

    brayan l. 3 years ago

    Hello, this is to let you know that the videos now are appearing

    Martin 3 years ago

    Hello Bryan,

    could you please let us know what did you had to do to fix the WPLMS integration if you have a bit of time? I would like to report this back to WPLMS developers so that they can fix it here: https://wplms.io/support/knowledge-base/fv-player-support-for-wplms-4-0-in-unit/

    I moved your question about FV Player Coconut Wizard to a new thread: https://foliovision.com/support/fv-wordpress-flowplayer/troubleshooting/fv-player-coconut-wizard-fails-to-setup-bunnycdn

    Thanks,
    Martin

    brayan l. 3 years ago

    Hello, I only used the code you provided,

    add_action('wp_enqueue_scripts',function(){
        ?>
        <script>
        document.addEventListener('unit_loaded', function(){
      setTimeout( fv_player_load, 10 );
    });
        </script>
        <?php
    });
    

    fv player pro is set to release and not beta.
    the videos are playing well on chrome however on safari, once I switch to the next wplms unit and get back to the previous unit the video will keep loading without showing any video content.

    Martin 3 years ago

    Hello Brayan,

    please let us know what video type you use. It seems like a bug in our handling of Safari for some video type. Is it Vimeo?

    Please also let us know what Safari version you are using.

    Thanks,
    Martin

    brayan l. 3 years ago

    I used a video stored in an S3 bucket safari Version 14.1.1 (16611.2.7.1.4)

    Martin 3 years ago

    Hello Brayan,

    I thought I will be able to check this easily, but it’s not as simple. Appending a new player to page using Ajax, playing it, then appending another, playing it and finally playing the player in from that previous Ajax request didn’t trigger any issues.

    I tested with Safari 14.1.1 and 15.0.

    What specific featured you use with your MP4 videos? Are these in playlist, chapters, or with AB looper?

    Could you please share a test page on your website where we can see this behavior?

    Thanks,
    Martin

    brayan l. 3 years ago

    your forum is not a safe place I can share credentials in, please provide an email

    Martin 3 years ago

    Hello Brayan,

    please just reply to the forum notification. You can use a service like https://revealit.me/ to share the access with reasonable security if there is any access password.

    Thanks,
    Martin

    brayan l. 3 years ago

    done

    Martin 3 years ago

    Hello Brayan,

    thank you for sending it over to us privately.

    I was able to see the issue in Safari. I wonder when deos the WPLMS unit_load event really occur.

    Please try to increase the timeout in it:

    document.addEventListener('unit_loaded', function(){
      setTimeout( fv_player_load, 100 );
    });
    

    If this helps, then perhaps WPLSM just needs to provide an event which occurs once the new unit HTML code is set and not before that.

    Thanks,
    Martin

    brayan l. 3 years ago

    hello thank you for the code, I now have the videos issue on safari solved however now this code caused a problem, my wplms units are being marked complete just after clicking the play button, can you please contact vibethemes so you can work on a proper solution?? i can’t work with this current state of plugin.

    Martin 3 years ago

    Hello Brayan,

    could you please double-check that the issue will be solved just by removing the code to load FV Player?

    Are you using any WPLSM setting to track video progress?

    Could you please ask WPLSM support if they track FV Player video progress in any way? It’s hard for us to check this as we do not have their license nor a test site. We contacted them regarding their documentation and haven’t heard back from them yet.

    Thanks,
    Martin

Viewing 21 replies - 1 through 21 (of 21 total)
Reply To: fv player not working inside the WPLMS pwa



Please Sign in or Register to upload files.

Related Posts

  1. WPLMS – Unable to play videos after update on ajax loaded pages

    WPLMS – Unable to play videos after update on ajax loaded pages

  2. Compatibility with WPLMS theme

    Compatibility with WPLMS theme

  3. FV Player Pro + Vimeo Security Plugin – Renew Licenses?

    FV Player Pro + Vimeo Security Plugin – Renew Licenses?

Primary Sidebar

Sign in Register
FV Player Docs Post New Topic

Welcome

to Foliovision support forums! We'll be happy to provide free support to resolve all the reported bugs. You always can start by specifying your OS and browser and steps to reproduce the bug.

If you need help with the installation on your site, please submit a request for a Pro Support Incident. We'll have you up and running in no time, with detailed instructions on how to resolve your issue yourself in the future.

Facing a hard to solve WordPress problem? On a tight deadline?

Let us take care of it for you
right now.

Pro Support Buy FV Player

Footer

Our Plugins

  • FV WordPress Flowplayer
  • FV Thoughtful Comments
  • FV Simpler SEO
  • FV Antispam
  • FV Gravatar Cache
  • FV Testimonials

Free Tools

  • Pandoc Online
  • Article spinner
  • WordPress Password Finder
  • Delete LinkedIn Account
  • Responsive Design Calculator
Foliovision logo
All materials © 2025 Foliovision s.r.o. | Panská 12 - 81101 Bratislava - Slovakia | info@foliovision.com
  • This Site Uses Cookies
  • Privacy Policy
  • Terms of Service
  • Site Map
  • Contact
  • Tel. ‭+421 2/5292 0086‬

We are using cookies to give you the best experience on our website.

You can find out more about which cookies we are using or switch them off in .

Powered by  GDPR Cookie Compliance
Privacy Overview

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.

Necessary Cookies

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.

Support Cookies

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!

3rd Party Cookies

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!