Forums

Get help. Give help. A Web Design and Development Community.

Anythingslider html 5 video autoplay

  • # August 5, 2014 at 3:02 pm

    yes, and the demo have this problem.. Thank You

    # August 6, 2014 at 12:55 am

    This reply has been reported for inappropriate content.

    The demo has to problem too you say? It works fine for me I think. Can you post the reproduction steps?

    # August 31, 2016 at 12:33 pm

    Just in case the following issue isn’t just a problem elsewhere with my page, I found that with autoPlay set to true the script produced an “undefined” error with the isVideoPlaying part. Wrapping it up with a check to see if slider is defined fixed it. Probably not the most elegant fix but it all works now.

    function(slider) {
    if (typeof slider !==’undefined’) {
    var vid = slider.$currentPage.find(‘video’);
    return (vid.length && typeof(vid[0].pause) !== ‘undefined’ && !vid[0].paused && !vid[0].ended);
    }
    }

Viewing 3 posts - 16 through 18 (of 18 total)

You must be logged in to reply to this topic.

We have a pretty good* newsletter.