Okay
  Public Ticket #543586
Nectar Slider & Video Background
Closed

Comments

  • Ammon started the conversation

    I have three slides on my home page. the last one is a video. In Chrome and Safari the video only plays when the slide is active. In Firefox the video starts playing regardless of the position of the slide. Is there a way to fix this for firefox so it only plays when the slide is active?

  • Ammon replied

    I created a work around to fix this issue. The problem is the html code generated by the video slider has an autoplay element. Chrome and Safari recognize that it\'s not the active slide and disables this. Firefox does not. If you add this to a javascript element it should fix the problem and the video will only play when it is the active slide.

    jQuery(\'.slider-video\').removeAttr(\'autoplay\');