• Resolved qwertyu77

    (@qwertyu77)


    Hi.
    First of all, thanks for the plugin.
    I want to show my H5P content in a tab. The plugin works fine on desktop browser but not on mobile. Can you check?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author otacke

    (@otacke)

    I could check if you pointed me to a site where you think it’s not running, yes.

    • This reply was modified 2 years, 2 months ago by otacke.
    Thread Starter qwertyu77

    (@qwertyu77)

    Plugin Author otacke

    (@otacke)

    @qwertyu77

    The plugin is working nicely on my own site on mobile. Pulsing just fine.

    I have checked your site. It seems that the relevant function to start pulsing is not be called. It’s waiting for H5P to inform the “page” that content has been initialized which may already have happened. Can’t tell what the reason is though.

    I feel sorry to say that I currently don’t have time to try fixing a workaround (which this plugin is) for a problem that I cannot reproduce.

    Thread Starter qwertyu77

    (@qwertyu77)

    I noticed that it works when I use the phone horizontally, it does not work in portrait use. I don’t know if it’s related to the fact that it’s smaller than a certain width.
    Sorry you didn’t have time, thanks anyway.

    Plugin Author otacke

    (@otacke)

    @qwertyu77 I am not aware if you understand what this plugin is actually doing, but no. The orientation has nothing to do with it, it doesn’t resize anything itself. The problem is that it doesn’t receive a message from H5P when the content starts on your server for whatever reason.

    Thread Starter qwertyu77

    (@qwertyu77)

    Thanks for your answers.
    I solved my problem by adding a little jquery code without plugin.
    In the tab plugin I used, when I clicked on the tab, the tab’s id was added to the address bar. When I clicked tab, I refreshed the page (address with id) with jquery code and my h5p content was displayed in the tab.
    My code:

    (function($) {
         $(document).ready(function(){
             setTimeout(function() {
                 $('#plethorapluginstab_1_tablink_2').click(function(e) {
                     e.preventDefault();
                     location.reload(true);
                 });
             }, 100);
         });
    })(jQuery);

    Maybe it will be of use to someone.
    Thank you for your time.

    • This reply was modified 2 years, 2 months ago by qwertyu77.
    • This reply was modified 2 years, 2 months ago by qwertyu77.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Does not work on mobile’ is closed to new replies.