Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1028062

    How to reproduce
    – Add a Fullwidth Easy Slider with 2 slides to any page
    – The first slide must be a video slide -> Mute video player -> enabled
    – The second slide could be a picture or anything else
    – Open Safari and wait until the video is finished. The slide won’t switch automatically to the second one.

    Expected Behavior
    After the video is played the next slide should be shown.

    avia.js
    – Method $.fn.avia_html5_activation wants to trigger an av-mediajs-ended event on fv (Line 504) but fv was replaced by another video object (Fallback Video Trigger “html5″). Example:
    – Wrong <video id=”player_4435_306028332_19627207″>
    – Correct: <video id=”player_4435_306028332_19627207_html5”>

    Therefore the event av-mediajs-ended is never triggered.

    Possible Fix
    Add the following code in avia.js after line 504:

    	var html5MediaElement = document.getElementById($(mediaElement).attr('id') + '_html5');
                        if (html5MediaElement && html5MediaElement !== mediaElement) {
                            mediaElement.addEventListener("ended", function() {
                                $(html5MediaElement).trigger('av-mediajs-ended');
                            });
                        }

    Environment
    Wordpress 4.9.8
    Enfold 4.5

    • This topic was modified 10 months, 3 weeks ago by  markusperl.
    #1029727

    Hey markusperl,

    Thank for you the info. I’ll forward this to the dev team.

    Best regards,
    Ismael

    #1116358

    Hello, I noticed there was no follow up on this issue. This is still happening. Safari is not advancing the slider after a video slide. Is this issue being worked on? I tried the possible fix listed above and it doesn’t make a difference.

    I’m on Enfold 4.5.7
    WordPress 5.2.2

    Thanks!

    #1116775

    Hi,

    Allow us some time please – we appreciate all the patience.

    Best regards,
    Basilis

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.