Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Saguaros Moderator

    Hi Juan,

    This will require a bit customization, you can try with my tweak here:

    • Go to file: root/templates/ja_healthcare/acm/video/tmpl/style-1.php
    • Add this JS code:
      $(window).on('scroll', function() {
      var scrolltop = document.window.getScrollTop() + 1000;
      var top = $('.acm-video').offset().top;
      if (scrolltop > top) {

    I attach the file so you can have a comparison.

    With this JS code, when you scroll page to that video section, it will automatically play. However, this solution is applied for Youtube video only.


    Juan Carlos Stauring Friend

    Thank you @saguaros that worked very nice!


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

This topic contains 2 replies, has 2 voices, and was last updated by  Juan Carlos Stauring 2 years, 6 months ago.

The topic ‘JACM Auto Play video’ is closed to new replies.