Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #579776

    I have a Fullwidth Easy Slider with a YouTube video in it. It has an option for autoplay, but I want to play it when the user scrolls past it (and not when the page loads, because it isn’t at the top). It isn’t so difficult to get the current location on the screen, but I can’t seem to find out how to trigger the video to play.

    So, is there any way I can hook into the YouTube (or Medialement?) API and trigger play/pause myself? Or is there even a solution available to play videos when the user scrolls past them (actually past a certain place on the page)?

    #580229

    Hey Chris!

    What you are trying to do requires a lot of customization and we recommend hiring a freelancer since it is going to take much time to do this. An alternative is to search for a solution on sites like stackoverflow check out http://jsfiddle.net/zohf/Luoyon0x/ or http://stackoverflow.com/questions/15594881/triggering-a-video-autoplay-based-on-scroll-position

    If you have more questions please feel free to get in touch with us.

    Regards,
    Vinay Kashyap

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.